TokenProvider.CreateAzureActiveDirectoryTokenProvider Method
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.
public static Microsoft.Azure.ServiceBus.Primitives.TokenProvider CreateAzureActiveDirectoryTokenProvider (Microsoft.Azure.ServiceBus.Primitives.AzureActiveDirectoryTokenProvider.AuthenticationCallback authCallback, string authority, object state = default);
static member CreateAzureActiveDirectoryTokenProvider : Microsoft.Azure.ServiceBus.Primitives.AzureActiveDirectoryTokenProvider.AuthenticationCallback * string * obj -> Microsoft.Azure.ServiceBus.Primitives.TokenProvider
Public Shared Function CreateAzureActiveDirectoryTokenProvider (authCallback As AzureActiveDirectoryTokenProvider.AuthenticationCallback, authority As String, Optional state As Object = Nothing) As TokenProvider
Parameters
The user defined authentication delegate to provide access token.
- authority
- String
URL of the Azure Active Directory instance to issue token.
- state
- Object
Custom parameters that may be passed into the authentication delegate.
Returns
The TokenProvider for returning Json web token.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET