ManagedIdentityTokenProvider Class
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.
Represents the Azure Active Directory token provider for Azure Managed Identity integration.
public class ManagedIdentityTokenProvider : Microsoft.Azure.EventHubs.TokenProvider
type ManagedIdentityTokenProvider = class
inherit TokenProvider
Public Class ManagedIdentityTokenProvider
Inherits TokenProvider
- Inheritance
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
Azure SDK for .NET