AbstractManagedIdentityAcquireTokenParameterBuilder<T>.ExecuteAsync Method
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.
Executes the Token request asynchronously, with a possibility of cancelling the asynchronous method.
public override System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult> ExecuteAsync (System.Threading.CancellationToken cancellationToken);
override this.ExecuteAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Identity.Client.AuthenticationResult>
Public Overrides Function ExecuteAsync (cancellationToken As CancellationToken) As Task(Of AuthenticationResult)
Parameters
- cancellationToken
- CancellationToken
Cancellation token. See CancellationToken
Returns
Authentication result containing a token for the requested scopes and parameters set in the builder.