共用方式為


AuthenticationHandler<TOptions>.AuthenticateAsync 方法

定義

多載

AuthenticateAsync()

驗證目前的要求。

AuthenticateAsync(AuthenticateContext)

AuthenticateAsync()

來源:
AuthenticationHandler.cs
來源:
AuthenticationHandler.cs
來源:
AuthenticationHandler.cs

驗證目前的要求。

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticateResult ^> ^ AuthenticateAsync();
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> AuthenticateAsync ();
abstract member AuthenticateAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
override this.AuthenticateAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
Public Function AuthenticateAsync () As Task(Of AuthenticateResult)

傳回

AuthenticateResult 結果。

實作

適用於

AuthenticateAsync(AuthenticateContext)

public:
 virtual System::Threading::Tasks::Task ^ AuthenticateAsync(Microsoft::AspNetCore::Http::Features::Authentication::AuthenticateContext ^ context);
public System.Threading.Tasks.Task AuthenticateAsync (Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext context);
abstract member AuthenticateAsync : Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext -> System.Threading.Tasks.Task
override this.AuthenticateAsync : Microsoft.AspNetCore.Http.Features.Authentication.AuthenticateContext -> System.Threading.Tasks.Task
Public Function AuthenticateAsync (context As AuthenticateContext) As Task

參數

傳回

實作

適用於