次の方法で共有


AzureServiceTokenProvider.GetAuthenticationResultAsync メソッド

定義

オーバーロード

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)

パラメーター

resource
String
tenantId
String

戻り値

適用対象

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)

パラメーター

resource
String
forceRefresh
Boolean
cancellationToken
CancellationToken

戻り値

適用対象

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)

パラメーター

resource
String
tenantId
String
cancellationToken
CancellationToken

戻り値

適用対象

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)

パラメーター

resource
String
tenantId
String
forceRefresh
Boolean
cancellationToken
CancellationToken

戻り値

適用対象