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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin