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.ServiceBus.Primitives.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET