AcquireTokenForManagedIdentityParameterBuilder 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.
Builder for AcquireTokenForManagedIdentity (used to get token for managed identities). See https://aka.ms/msal-net-managed-identity
public sealed class AcquireTokenForManagedIdentityParameterBuilder : Microsoft.Identity.Client.AbstractManagedIdentityAcquireTokenParameterBuilder<Microsoft.Identity.Client.AcquireTokenForManagedIdentityParameterBuilder>
type AcquireTokenForManagedIdentityParameterBuilder = class
inherit AbstractManagedIdentityAcquireTokenParameterBuilder<AcquireTokenForManagedIdentityParameterBuilder>
Public NotInheritable Class AcquireTokenForManagedIdentityParameterBuilder
Inherits AbstractManagedIdentityAcquireTokenParameterBuilder(Of AcquireTokenForManagedIdentityParameterBuilder)
- Inheritance
-
AcquireTokenForManagedIdentityParameterBuilder
Methods
ExecuteAsync() |
Executes the Token request asynchronously. (Inherited from BaseAbstractAcquireTokenParameterBuilder<T>) |
ExecuteAsync(CancellationToken) |
Executes the Token request asynchronously, with a possibility of cancelling the asynchronous method. (Inherited from AbstractManagedIdentityAcquireTokenParameterBuilder<T>) |
Validate() |
Validates the parameters of the AcquireToken operation. (Inherited from BaseAbstractAcquireTokenParameterBuilder<T>) |
WithCorrelationId(Guid) |
Sets the correlation id to be used in the authentication request. Used to track a request in the logs of both the SDK and the Identity Provider service. If not set, a random one will be generated. (Inherited from BaseAbstractAcquireTokenParameterBuilder<T>) |
WithForceRefresh(Boolean) |
Specifies if the token request will ignore the access token in the application token cache and will attempt to acquire a new access token for managed identity. By default the token is taken from the application token cache (forceRefresh=false) |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기