<PackageReference Include="Azure.Core" Version="1.53.0" />

Azure.Identity.DeviceCodeInfo

public struct DeviceCodeInfo
Details of the device code to present to a user to allow them to authenticate through the device code authentication flow.
public string ClientId { get; }

Identifier of the client requesting device code.

public string DeviceCode { get; }

Device code returned by the service

public DateTimeOffset ExpiresOn { get; }

Time when the device code will expire.

public string Message { get; }

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

public IReadOnlyCollection<string> Scopes { get; }

List of the scopes that would be held by token.

public string UserCode { get; }

User code returned by the service

public Uri VerificationUri { get; }

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