共用方式為


DeviceCodeCredential Constructors

Definition

Overloads

DeviceCodeCredential()

Creates a new DeviceCodeCredential, which will authenticate users using the device code flow.

DeviceCodeCredential(DeviceCodeCredentialOptions)

Creates a new DeviceCodeCredential with the specified options, which will authenticate users using the device code flow.

DeviceCodeCredential()

Source:
DeviceCodeCredential.cs
Source:
DeviceCodeCredential.cs

Creates a new DeviceCodeCredential, which will authenticate users using the device code flow.

public DeviceCodeCredential ();
Public Sub New ()

Applies to

DeviceCodeCredential(DeviceCodeCredentialOptions)

Source:
DeviceCodeCredential.cs
Source:
DeviceCodeCredential.cs

Creates a new DeviceCodeCredential with the specified options, which will authenticate users using the device code flow.

public DeviceCodeCredential (Azure.Identity.DeviceCodeCredentialOptions options);
new Azure.Identity.DeviceCodeCredential : Azure.Identity.DeviceCodeCredentialOptions -> Azure.Identity.DeviceCodeCredential
Public Sub New (options As DeviceCodeCredentialOptions)

Parameters

options
DeviceCodeCredentialOptions

The client options for the newly created DeviceCodeCredential.

Applies to