Sdílet prostřednictvím


DefaultAzureCredential Constructors

Definition

Overloads

DefaultAzureCredential()

Protected constructor for mocking.

DefaultAzureCredential(DefaultAzureCredentialOptions)

Creates an instance of the DefaultAzureCredential class.

DefaultAzureCredential(Boolean)

Creates an instance of the DefaultAzureCredential class.

DefaultAzureCredential()

Source:
DefaultAzureCredential.cs
Source:
DefaultAzureCredential.cs

Protected constructor for mocking.

protected DefaultAzureCredential ();
Protected Sub New ()

Applies to

DefaultAzureCredential(DefaultAzureCredentialOptions)

Source:
DefaultAzureCredential.cs
Source:
DefaultAzureCredential.cs

Creates an instance of the DefaultAzureCredential class.

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

Parameters

options
DefaultAzureCredentialOptions

Options that configure the management of the requests sent to Microsoft Entra ID, and determine which credentials are included in the DefaultAzureCredential authentication flow.

Applies to

DefaultAzureCredential(Boolean)

Source:
DefaultAzureCredential.cs
Source:
DefaultAzureCredential.cs

Creates an instance of the DefaultAzureCredential class.

public DefaultAzureCredential (bool includeInteractiveCredentials = false);
new Azure.Identity.DefaultAzureCredential : bool -> Azure.Identity.DefaultAzureCredential
Public Sub New (Optional includeInteractiveCredentials As Boolean = false)

Parameters

includeInteractiveCredentials
Boolean

Specifies whether credentials requiring user interaction will be included in the default authentication flow.

Applies to