Share via


ManagedIdentityTokenProvider Class

Definition

Represents the Azure Active Directory token provider for Azure Managed Identity integration.

public class ManagedIdentityTokenProvider : Microsoft.Azure.ServiceBus.Primitives.TokenProvider
type ManagedIdentityTokenProvider = class
    inherit TokenProvider
Public Class ManagedIdentityTokenProvider
Inherits TokenProvider
Inheritance
ManagedIdentityTokenProvider

Constructors

ManagedIdentityTokenProvider()

Initializes new instance of ManagedIdentityTokenProvider class with default AzureServiceTokenProvider configuration.

ManagedIdentityTokenProvider(AzureServiceTokenProvider)

Initializes new instance of ManagedIdentityTokenProvider class with AzureServiceTokenProvider.

Methods

GetTokenAsync(String, TimeSpan)

Gets a SecurityToken for the given audience and duration.

Applies to