CookieAuthenticationEvents Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows subscribing to events raised during cookie authentication.
public ref class CookieAuthenticationEvents : Microsoft::AspNetCore::Authentication::Cookies::ICookieAuthenticationEvents
public ref class CookieAuthenticationEvents
public class CookieAuthenticationEvents : Microsoft.AspNetCore.Authentication.Cookies.ICookieAuthenticationEvents
public class CookieAuthenticationEvents
type CookieAuthenticationEvents = class
interface ICookieAuthenticationEvents
type CookieAuthenticationEvents = class
Public Class CookieAuthenticationEvents
Implements ICookieAuthenticationEvents
Public Class CookieAuthenticationEvents
- Inheritance
-
CookieAuthenticationEvents
- Implements
Constructors
CookieAuthenticationEvents() |
Properties
OnCheckSlidingExpiration |
Invoked to check if the cookie should be renewed. |
OnRedirectToAccessDenied |
Invoked when the client needs to be redirected to the access denied url. |
OnRedirectToLogin |
Invoked when the client needs to be redirected to the sign in url. |
OnRedirectToLogout |
Invoked when the client is to be redirected to logout. |
OnRedirectToReturnUrl |
Invoked when the client is to be redirected after logout. |
OnSignedIn |
Invoked after sign in has completed. |
OnSigningIn |
Invoked on signing in. |
OnSigningOut |
Invoked on signing out. |
OnValidatePrincipal |
Invoked to validate the principal. |
Methods
CheckSlidingExpiration(CookieSlidingExpirationContext) |
Invoked to check if the cookie should be renewed. |
RedirectToAccessDenied(CookieRedirectContext) |
Implements the interface method by invoking the related delegate method. |
RedirectToAccessDenied(RedirectContext<CookieAuthenticationOptions>) |
Invoked when the client is being redirected to the access denied url. |
RedirectToLogin(CookieRedirectContext) |
Implements the interface method by invoking the related delegate method. |
RedirectToLogin(RedirectContext<CookieAuthenticationOptions>) |
Invoked when the client is being redirected to the log in url. |
RedirectToLogout(CookieRedirectContext) |
Implements the interface method by invoking the related delegate method. |
RedirectToLogout(RedirectContext<CookieAuthenticationOptions>) |
Invoked when the client is being redirected to the log out url. |
RedirectToReturnUrl(CookieRedirectContext) |
Implements the interface method by invoking the related delegate method. |
RedirectToReturnUrl(RedirectContext<CookieAuthenticationOptions>) |
Invoked when the client is being redirected after log out. |
SignedIn(CookieSignedInContext) |
Invoked after sign in has completed. |
SigningIn(CookieSigningInContext) |
Invoked during sign in. |
SigningOut(CookieSigningOutContext) |
Invoked on sign out. |
ValidatePrincipal(CookieValidatePrincipalContext) |
Invoked to validate the principal. |