AuthInfo Class

Definition

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)

Deserializes a PSObject into an instance of AuthInfo.

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)

Serializes this instance of AuthInfo into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to