Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DeviceCodeResult Class

Definition

Namespace:
Microsoft.Identity.Client
Assembly:
Microsoft.Identity.Client.dll
Package:
Microsoft.Identity.Client v4.83.3

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
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


Feedback

Was this page helpful?