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.

class Microsoft.​AspNetCore.​Authentication.​Cookies.​CookieAuthenticationHandler

Assembly: Microsoft.AspNetCore.Authentication.Cookies

Inheritance: object → AuthenticationHandler<​CookieAuthenticationOptions> → SignOutAuthenticationHandler<​CookieAuthenticationOptions> → SignInAuthenticationHandler<​CookieAuthenticationOptions> → CookieAuthenticationHandler

Implemented Interfaces

Implementation for the cookie-based authentication handler.

Properties

Events
The handler calls methods on the events which give the application control at certain points where processing is occurring. If it is not provided a default instance is supplied which does nothing when the methods are called.
Scheme
Context
Request
Response
protected Http.​PathString
OriginalPath
protected Http.​PathString
OriginalPathBase
protected ISystemClock
Clock
TimeProvider
protected object
Events
protected string
ClaimsIssuer
protected string
CurrentUri

Methods

InitializeHandlerAsync​()
CreateEventsAsync​()
Creates a new instance of the events instance.
Returns A new instance of the events instance.
HandleAuthenticateAsync​()
FinishResponseAsync​()
HandleSignOutAsync​(AuthenticationProperties? properties)
HandleForbiddenAsync​(AuthenticationProperties properties)
HandleChallengeAsync​(AuthenticationProperties properties)
InitializeEventsAsync​()
protected string
BuildRedirectUri​(string targetPath)
protected string
ResolveTarget​(string scheme)
HandleAuthenticateOnceAsync​()
HandleAuthenticateOnceSafeAsync​()
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object