Taal

ServiceClientCredentialsFactory.CreateCredentialsAsync Methode

Definitie

Een fabrieksmethode voor het maken van ServiceClientCredentials.

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

Parameters

appId
String

De appId.

audience
String

Het publiek.

loginEndpoint
String

De aanmeldings-URL.

validateAuthority
Boolean

De validate authority vale om te gebruiken.

cancellationToken
CancellationToken

Een annuleringstoken.

Retouren

Task<Microsoft.Rest.ServiceClientCredentials>

A die Task<TResult> het resultaat van de asynchrone bewerking vertegenwoordigt.

Van toepassing op