你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureServiceTokenProvider 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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)
参数
- connectionString
- String
- azureAdInstance
- String
适用于
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)
参数
- connectionString
- String
- azureAdInstance
- String
- httpClientFactory
- Microsoft.IdentityModel.Clients.ActiveDirectory.IHttpClientFactory