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.​IAuthenticationHandlerProvider

Assembly: Microsoft.AspNetCore.Authentication.Abstractions

Provides the appropriate IAuthenticationHandler instance for the authenticationScheme and request.

Methods

GetHandlerAsync​(Http.​HttpContext context, string authenticationScheme)
Returns the handler instance that will be used.
Returns The handler instance.
context The <see cref="T:Microsoft.AspNetCore.Http.HttpContext" /> .
authenticationScheme The name of the authentication scheme being handled.