Share via


ManagedIdentityTokenProvider Constructors

Definition

Overloads

ManagedIdentityTokenProvider()

Initializes new instance of ManagedIdentityTokenProvider class with default AzureServiceTokenProvider configuration.

ManagedIdentityTokenProvider(AzureServiceTokenProvider)

Initializes new instance of ManagedIdentityTokenProvider class with AzureServiceTokenProvider.

ManagedIdentityTokenProvider()

Source:
ManagedIdentityTokenProvider.cs

Initializes new instance of ManagedIdentityTokenProvider class with default AzureServiceTokenProvider configuration.

public ManagedIdentityTokenProvider ();
Public Sub New ()

Applies to

ManagedIdentityTokenProvider(AzureServiceTokenProvider)

Source:
ManagedIdentityTokenProvider.cs

Initializes new instance of ManagedIdentityTokenProvider class with AzureServiceTokenProvider.

public ManagedIdentityTokenProvider (Microsoft.Azure.Services.AppAuthentication.AzureServiceTokenProvider azureServiceTokenProvider);
new Microsoft.Azure.EventHubs.ManagedIdentityTokenProvider : Microsoft.Azure.Services.AppAuthentication.AzureServiceTokenProvider -> Microsoft.Azure.EventHubs.ManagedIdentityTokenProvider
Public Sub New (azureServiceTokenProvider As AzureServiceTokenProvider)

Parameters

azureServiceTokenProvider
AzureServiceTokenProvider

The AzureServiceTokenProvider to be used to fetch access tokens.

Applies to