Langue

PasswordServiceClientCredentialFactory.CreateCredentialsAsync Méthode

Définition

Méthode de fabrique pour la création de ServiceClientCredentials.

public override System.Threading.Tasks.Task<Microsoft.Rest.ServiceClientCredentials> CreateCredentialsAsync(string appId, string oauthScope, string loginEndpoint, bool validateAuthority, System.Threading.CancellationToken cancellationToken);
override this.CreateCredentialsAsync : string * string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.ServiceClientCredentials>
Public Overrides Function CreateCredentialsAsync (appId As String, oauthScope As String, loginEndpoint As String, validateAuthority As Boolean, cancellationToken As CancellationToken) As Task(Of ServiceClientCredentials)

Paramètres

appId
String

AppId.

oauthScope
String
loginEndpoint
String

URL de connexion.

validateAuthority
Boolean

L’autorité de validation vaut la peine d’être utilisée.

cancellationToken
CancellationToken

Jeton d’annulation.

Retours

Task<Microsoft.Rest.ServiceClientCredentials>

Un Task<TResult> représentant le résultat de l’opération asynchrone.

S’applique à