Partager via


CertificateServiceClientCredentialsFactory.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 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

Vale d’autorité de validation à utiliser.

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 à