共用方式為


TokenProvider.CreateManagedIdentityTokenProvider Method

Definition

Creates Azure Managed Identity token provider.

public static Microsoft.Azure.EventHubs.TokenProvider CreateManagedIdentityTokenProvider ();
static member CreateManagedIdentityTokenProvider : unit -> Microsoft.Azure.EventHubs.TokenProvider
Public Shared Function CreateManagedIdentityTokenProvider () As TokenProvider

Returns

The TokenProvider for returning Json web token.

Applies to