Condividi tramite


CertificateServiceClientCredentialsFactory.CreateCredentialsAsync Metodo

Definizione

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

Parametri

appId
String

AppId.

audience
String

Il pubblico.

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