Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Microsoft.​AspNetCore.​Authentication.​IAuthenticationHandler
Assembly: Microsoft.AspNetCore.Authentication.Abstractions
Created per request to handle authentication for a particular scheme.
Methods
InitializeAsync​(AuthenticationScheme scheme,
Http.​HttpContext context)
Initialize the authentication handler. The handler should initialize anything it needs from the request and scheme as part of this method.
scheme
The <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationScheme" /> scheme.
context
The <see cref="T:Microsoft.AspNetCore.Http.HttpContext" /> context for the current request.
System.​Threading.​Tasks.​Task<​AuthenticateResult>
AuthenticateAsync​()
Authenticate the current request.
Returns The <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticateResult" /> result.
properties
The <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationProperties" /> that contains the extra meta-data arriving with the authentication.
properties
The <see cref="T:Microsoft.AspNetCore.Authentication.AuthenticationProperties" /> that contains the extra meta-data arriving with the authentication.