AzureServiceTokenProvider 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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET