TokenProvider.CreateManagedIdentityTokenProvider 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.
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.