Struct DeviceCodeInfo
Details of the device code to present to a user to allow them to authenticate through the device code authentication flow.
Namespace: Azure.Identity
Assembly: Azure.Identity.dll
Syntax
public struct DeviceCodeInfo
Properties
ClientId
Identifier of the client requesting device code.
Declaration
public string ClientId { get; }
Property Value
String
|
DeviceCode
Device code returned by the service
Declaration
public string DeviceCode { get; }
Property Value
String
|
ExpiresOn
Time when the device code will expire.
Declaration
public DateTimeOffset ExpiresOn { get; }
Property Value
DateTimeOffset
|
Message
User friendly text response that can be used for display purpose.
Declaration
public string Message { get; }
Property Value
String
|
Scopes
List of the scopes that would be held by token.
Declaration
public System.Collections.Generic.IReadOnlyCollection<string> Scopes { get; }
Property Value
IReadOnlyCollection<String>
|
UserCode
VerificationUri
Verification URL where the user must navigate to authenticate using the device code and credentials.
Declaration
public Uri VerificationUri { get; }
Property Value
Uri
|