Dela via


JwtBearerHandler.HandleAuthenticateAsync Method

Definition

Searches the 'Authorization' header for a 'Bearer' token. If the 'Bearer' token is found, it is validated using TokenValidationParameters set in the options.

protected:
 override System::Threading::Tasks::Task<Microsoft::AspNetCore::Authentication::AuthenticateResult ^> ^ HandleAuthenticateAsync();
protected override System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult> HandleAuthenticateAsync ();
override this.HandleAuthenticateAsync : unit -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Authentication.AuthenticateResult>
Protected Overrides Function HandleAuthenticateAsync () As Task(Of AuthenticateResult)

Returns

Applies to