Compartir a través de


ManagedIdentityServiceClientCredentialsFactory.CreateCredentialsAsync Método

Definición

Un método de fábrica para crear 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)

Parámetros

appId
String

AppId.

audience
String

El público.

loginEndpoint
String

Dirección URL de inicio de sesión.

validateAuthority
Boolean

Vale de autoridad de validación que se va a usar.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Task<Microsoft.Rest.ServiceClientCredentials>

que Task<TResult> representa el resultado de la operación asincrónica.

Se aplica a