TokenProvider.CreateManagedServiceIdentityTokenProvider(Uri) Method

Definition

Creates Azure Managed Service Identity token provider.

public static Microsoft.ServiceBus.TokenProvider CreateManagedServiceIdentityTokenProvider (Uri audience);
static member CreateManagedServiceIdentityTokenProvider : Uri -> Microsoft.ServiceBus.TokenProvider
Public Shared Function CreateManagedServiceIdentityTokenProvider (audience As Uri) As TokenProvider

Parameters

audience
Uri

The service resource URI for token acquisition.

Returns

TokenProvider

The TokenProvider for returning Json web token.

Applies to