Class DeviceCodeResult
This object is returned as part of the device code flow and has information intended to be shown to the user about where to navigate to login and what the device code needs to be entered on that device. See https://aka.ms/msal-device-code-flow.
public class DeviceCodeResult
- Inheritance
-
DeviceCodeResult
- Inherited Members
Properties
ClientId
Identifier of the client requesting device code.
public string ClientId { get; }
Property Value
DeviceCode
Device code returned by the service
public string DeviceCode { get; }
Property Value
ExpiresOn
Time when the device code will expire.
public DateTimeOffset ExpiresOn { get; }
Property Value
Interval
Polling interval time to check for completion of authentication flow.
public long Interval { get; }
Property Value
Message
User friendly text response that can be used for display purpose.
public string Message { get; }
Property Value
Scopes
List of the scopes that would be held by token.
public IReadOnlyCollection<string> Scopes { get; }
Property Value
UserCode
User code returned by the service
public string UserCode { get; }
Property Value
VerificationUrl
Verification URL where the user must navigate to authenticate using the device code and credentials.
public string VerificationUrl { get; }