ICookieAuthenticationProvider Interface

 

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)

public interface class ICookieAuthenticationProvider

NameDescription
System_CAPS_pubmethodApplyRedirect(CookieApplyRedirectContext^)

Called when a Challenge, SignIn, or SignOut causes a redirect in the cookie middleware.

System_CAPS_pubmethodException(CookieExceptionContext^)

Called when an exception occurs during request or response processing.

System_CAPS_pubmethodResponseSignedIn(CookieResponseSignedInContext^)

Called when an endpoint has provided sign in information after it is converted into a cookie.

System_CAPS_pubmethodResponseSignIn(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.

System_CAPS_pubmethodResponseSignOut(CookieResponseSignOutContext^)

Called during the sign-out flow to augment the cookie cleanup process.

System_CAPS_pubmethodValidateIdentity(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.

Return to top
Show: