Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies callback methods which the CookieAuthenticationMiddleware invokes to enable developer control over the authentication process. />
Namespace: Microsoft.Owin.Security.Cookies
Assembly: Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)
Syntax
public interface ICookieAuthenticationProvider
public interface class ICookieAuthenticationProvider
type ICookieAuthenticationProvider = interface end
Public Interface ICookieAuthenticationProvider
Methods
Name | Description | |
---|---|---|
![]() |
ApplyRedirect(CookieApplyRedirectContext) | Called when a Challenge, SignIn, or SignOut causes a redirect in the cookie middleware. |
![]() |
Exception(CookieExceptionContext) | Called when an exception occurs during request or response processing. |
![]() |
ResponseSignedIn(CookieResponseSignedInContext) | Called when an endpoint has provided sign in information after it is converted into a cookie. |
![]() |
ResponseSignIn(CookieResponseSignInContext) | Called when an endpoint has provided sign in information before it is converted into a cookie. By implementing this method the claims and extra information that go into the ticket may be altered. |
![]() |
ResponseSignOut(CookieResponseSignOutContext) | Called during the sign-out flow to augment the cookie cleanup process. |
![]() |
ValidateIdentity(CookieValidateIdentityContext) | Called each time a request identity has been validated by the middleware. By implementing this method the application may alter or reject the identity which has arrived with the request. |
See Also
Microsoft.Owin.Security.Cookies Namespace
Return to top