AzureServiceTokenProvider.GetAuthenticationResultAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
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 à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET