Partager via


AzureServiceTokenProvider.GetAuthenticationResultAsync Méthode

Définition

Surcharges

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)

Paramètres

resource
String
tenantId
String

Retours

S’applique à

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)

Paramètres

resource
String
forceRefresh
Boolean
cancellationToken
CancellationToken

Retours

S’applique à

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)

Paramètres

resource
String
tenantId
String
cancellationToken
CancellationToken

Retours

S’applique à

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)

Paramètres

resource
String
tenantId
String
forceRefresh
Boolean
cancellationToken
CancellationToken

Retours

S’applique à