Condividi tramite


DeviceCodeResult Class

Definition

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
type DeviceCodeResult = class
Public Class DeviceCodeResult
Inheritance
DeviceCodeResult

Properties

ClientId

Identifier of the client requesting device code.

DeviceCode

Device code returned by the service

ExpiresOn

Time when the device code will expire.

Interval

Polling interval time to check for completion of authentication flow.

Message

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

Scopes

List of the scopes that would be held by token.

UserCode

User code returned by the service

VerificationUrl

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

Applies to

See also