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)

Syntax

public interface ICookieAuthenticationProvider
public interface class ICookieAuthenticationProvider
type ICookieAuthenticationProvider = interface end
Public Interface ICookieAuthenticationProvider

Methods

Name Description
System_CAPS_pubmethod ApplyRedirect(CookieApplyRedirectContext)

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

System_CAPS_pubmethod Exception(CookieExceptionContext)

Called when an exception occurs during request or response processing.

System_CAPS_pubmethod ResponseSignedIn(CookieResponseSignedInContext)

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

System_CAPS_pubmethod 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.

System_CAPS_pubmethod ResponseSignOut(CookieResponseSignOutContext)

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

System_CAPS_pubmethod 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