Taal

PasswordServiceClientCredentialFactory.CreateCredentialsAsync Methode

Definitie

Een fabrieksmethode voor het maken van 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)

Parameters

appId
String

De appId.

oauthScope
String
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