AbstractPublicClientAcquireTokenParameterBuilder<T>.ExecuteAsync Methode

Definition

Führt die Tokenanforderung asynchron aus, mit der Möglichkeit, die asynchrone Methode abzusagen.

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)

Parameter

cancellationToken
CancellationToken

Abbruchtoken. Siehe CancellationToken.

Gibt zurück

Authentifizierungsergebnis, das ein Token für die angeforderten Bereiche und Parameter enthält, die im Generator festgelegt wurden.

Gilt für: