Table of Contents

Struct DeviceCodeInfo

Namespace
Azure.Identity
Assembly
Azure.Identity.dll

Details of the device code to present to a user to allow them to authenticate through the device code authentication flow.

public struct DeviceCodeInfo
Inherited Members

Properties

ClientId

Identifier of the client requesting device code.

public readonly string ClientId { get; }

Property Value

string

DeviceCode

Device code returned by the service

public readonly string DeviceCode { get; }

Property Value

string

ExpiresOn

Time when the device code will expire.

public readonly DateTimeOffset ExpiresOn { get; }

Property Value

DateTimeOffset

Message

User friendly text response that can be used for display purpose.

public readonly string Message { get; }

Property Value

string

Scopes

List of the scopes that would be held by token.

public readonly IReadOnlyCollection<string> Scopes { get; }

Property Value

IReadOnlyCollection<string>

UserCode

User code returned by the service

public readonly string UserCode { get; }

Property Value

string

VerificationUri

Verification URL where the user must navigate to authenticate using the device code and credentials.

public readonly Uri VerificationUri { get; }

Property Value

Uri