Condividi tramite


PasswordServiceClientCredentialFactory.CreateCredentialsAsync Metodo

Definizione

Metodo factory per la creazione di 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)

Parametri

appId
String

AppId.

oauthScope
String
loginEndpoint
String

URL di accesso.

validateAuthority
Boolean

L'autorità di convalida da usare.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Task<Microsoft.Rest.ServiceClientCredentials>

Oggetto Task<TResult> che rappresenta il risultato dell'operazione asincrona.

Si applica a