Język

ConfigurationServiceClientCredentialFactory.CreateCredentialsAsync Metoda

Definicja

Fabryczna metoda tworzenia 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)

Parametry

appId
String

AppId.

audience
String

Odbiorcy.

loginEndpoint
String

Adres URL logowania.

validateAuthority
Boolean

Walidacja władzy do użycia.

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Task<Microsoft.Rest.ServiceClientCredentials>

A reprezentujący Task<TResult> wynik operacji asynchronicznej.

Dotyczy