Dela via


AzureServiceTokenProvider Constructors

Definition

Overloads

AzureServiceTokenProvider(String, String)
AzureServiceTokenProvider(String, String, IHttpClientFactory)

AzureServiceTokenProvider(String, String)

public AzureServiceTokenProvider (string connectionString, string azureAdInstance);
new Microsoft.Azure.Services.AppAuthentication.AzureServiceTokenProvider : string * string -> Microsoft.Azure.Services.AppAuthentication.AzureServiceTokenProvider
Public Sub New (connectionString As String, azureAdInstance As String)

Parameters

connectionString
String
azureAdInstance
String

Applies to

AzureServiceTokenProvider(String, String, IHttpClientFactory)

public AzureServiceTokenProvider (string connectionString = default, string azureAdInstance = "https://login.microsoftonline.com/", Microsoft.IdentityModel.Clients.ActiveDirectory.IHttpClientFactory httpClientFactory = default);
new Microsoft.Azure.Services.AppAuthentication.AzureServiceTokenProvider : string * string * Microsoft.IdentityModel.Clients.ActiveDirectory.IHttpClientFactory -> Microsoft.Azure.Services.AppAuthentication.AzureServiceTokenProvider
Public Sub New (Optional connectionString As String = Nothing, Optional azureAdInstance As String = "https://login.microsoftonline.com/", Optional httpClientFactory As IHttpClientFactory = Nothing)

Parameters

connectionString
String
azureAdInstance
String
httpClientFactory
Microsoft.IdentityModel.Clients.ActiveDirectory.IHttpClientFactory

Applies to