Freigeben über


AuthenticationHandler<TOptions>.AuthenticateAsync Methode

Definition

Überlädt

AuthenticateAsync()

Authentifizieren Sie die aktuelle Anforderung.

AuthenticateAsync(AuthenticateContext)

AuthenticateAsync()

Quelle:
AuthenticationHandler.cs
Quelle:
AuthenticationHandler.cs
Quelle:
AuthenticationHandler.cs

Authentifizieren Sie die aktuelle Anforderung.

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)

Gibt zurück

Das AuthenticateResult-Ergebnis.

Implementiert

Gilt für:

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

Parameter

Gibt zurück

Implementiert

Gilt für: