CookieAuthenticationProvider Class
This default implementation of the ICookieAuthenticationProvider may be used if the application only needs to override a few of the interface methods. This may be used as a base class or may be instantiated directly.
Namespace: Microsoft.Owin.Security.Cookies
Assembly: Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.Cookies.CookieAuthenticationProvider
Syntax
public class CookieAuthenticationProvider : ICookieAuthenticationProvider
public ref class CookieAuthenticationProvider : ICookieAuthenticationProvider
type CookieAuthenticationProvider =
class
interface ICookieAuthenticationProvider
end
Public Class CookieAuthenticationProvider
Implements ICookieAuthenticationProvider
Constructors
Name | Description | |
---|---|---|
CookieAuthenticationProvider() | Create a new instance of the default provider. |
Properties
Name | Description | |
---|---|---|
OnApplyRedirect | A delegate assigned to this property will be invoked when the related method is called. |
|
OnException | A delegate assigned to this property will be invoked when the related method is called. |
|
OnResponseSignedIn | A delegate assigned to this property will be invoked when the related method is called. |
|
OnResponseSignIn | A delegate assigned to this property will be invoked when the related method is called. |
|
OnResponseSignOut | A delegate assigned to this property will be invoked when the related method is called. |
|
OnValidateIdentity | A delegate assigned to this property will be invoked when the related method is called. |
Methods
Name | Description | |
---|---|---|
ApplyRedirect(CookieApplyRedirectContext) | Implements the interface method by invoking the related delegate method. |
|
Equals(Object) | (Inherited from Object.) |
|
Exception(CookieExceptionContext) | Implements the interface method by invoking the related delegate method. |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ResponseSignedIn(CookieResponseSignedInContext) | Implements the interface method by invoking the related delegate method. |
|
ResponseSignIn(CookieResponseSignInContext) | Implements the interface method by invoking the related delegate method. |
|
ResponseSignOut(CookieResponseSignOutContext) | Implements the interface method by invoking the related delegate method. |
|
ToString() | (Inherited from Object.) |
|
ValidateIdentity(CookieValidateIdentityContext) | Implements the interface method by invoking the related delegate method. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Owin.Security.Cookies Namespace
Return to top