AuthInfo Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The authorization properties for accessing the source code repository.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.AuthInfoTypeConverter))]
public class AuthInfo : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IAuthInfo
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.AuthInfoTypeConverter))>]
type AuthInfo = class
interface IAuthInfo
interface IJsonSerializable
Public Class AuthInfo
Implements IAuthInfo
- Inheritance
-
AuthInfo
- Attributes
- Implements
Constructors
AuthInfo() |
Creates an new AuthInfo instance. |
Properties
ExpiresIn |
Time in seconds that the token remains valid |
RefreshToken |
The refresh token used to refresh the access token. |
Scope |
The scope of the access token. |
Token |
The access token used to access the source control provider. |
TokenType |
The type of Auth token. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of AuthInfo. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.IAuthInfo. |
FromJsonString(String) |
Creates a new instance of AuthInfo, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |