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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET