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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET