Partilhar via


AzureServiceTokenProvider.GetAuthenticationResultAsync Método

Definição

Sobrecargas

GetAuthenticationResultAsync(String, String)
GetAuthenticationResultAsync(String, Boolean, CancellationToken)
GetAuthenticationResultAsync(String, String, CancellationToken)
GetAuthenticationResultAsync(String, String, Boolean, CancellationToken)

GetAuthenticationResultAsync(String, String)

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult> GetAuthenticationResultAsync (string resource, string tenantId);
abstract member GetAuthenticationResultAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult>
override this.GetAuthenticationResultAsync : string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult>
Public Overridable Function GetAuthenticationResultAsync (resource As String, tenantId As String) As Task(Of AppAuthenticationResult)

Parâmetros

resource
String
tenantId
String

Retornos

Aplica-se a

GetAuthenticationResultAsync(String, Boolean, CancellationToken)

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult> GetAuthenticationResultAsync (string resource, bool forceRefresh, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAuthenticationResultAsync : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult>
override this.GetAuthenticationResultAsync : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult>
Public Overridable Function GetAuthenticationResultAsync (resource As String, forceRefresh As Boolean, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AppAuthenticationResult)

Parâmetros

resource
String
forceRefresh
Boolean
cancellationToken
CancellationToken

Retornos

Aplica-se a

GetAuthenticationResultAsync(String, String, CancellationToken)

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult> GetAuthenticationResultAsync (string resource, string tenantId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAuthenticationResultAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult>
override this.GetAuthenticationResultAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult>
Public Overridable Function GetAuthenticationResultAsync (resource As String, Optional tenantId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AppAuthenticationResult)

Parâmetros

resource
String
tenantId
String
cancellationToken
CancellationToken

Retornos

Aplica-se a

GetAuthenticationResultAsync(String, String, Boolean, CancellationToken)

public virtual System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult> GetAuthenticationResultAsync (string resource, string tenantId, bool forceRefresh, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAuthenticationResultAsync : string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult>
override this.GetAuthenticationResultAsync : string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Services.AppAuthentication.AppAuthenticationResult>
Public Overridable Function GetAuthenticationResultAsync (resource As String, tenantId As String, forceRefresh As Boolean, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AppAuthenticationResult)

Parâmetros

resource
String
tenantId
String
forceRefresh
Boolean
cancellationToken
CancellationToken

Retornos

Aplica-se a