DeviceCodeCredential Constructors
Definition
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.
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
Azure SDK for .NET