Partager via


ConfigurationServiceClientCredentialFactory.CreateCredentialsAsync Méthode

Définition

Méthode de fabrique pour créer ServiceClientCredentials.

public override System.Threading.Tasks.Task<Microsoft.Rest.ServiceClientCredentials> CreateCredentialsAsync (string appId, string audience, 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, audience As String, loginEndpoint As String, validateAuthority As Boolean, cancellationToken As CancellationToken) As Task(Of ServiceClientCredentials)

Paramètres

appId
String

AppId.

audience
String

Le public.

loginEndpoint
String

URL de connexion.

validateAuthority
Boolean

Valeur d’autorité de validation à utiliser.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Task<Microsoft.Rest.ServiceClientCredentials>

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

S’applique à