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.
Inheritance Hierarchy
System.Object
Microsoft.Owin.Security.Cookies.CookieAuthenticationProvider
Namespace: Microsoft.Owin.Security.Cookies
Assembly: Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)
Syntax
'Declaration
Public Class CookieAuthenticationProvider _
Implements ICookieAuthenticationProvider
'Usage
Dim instance As CookieAuthenticationProvider
public class CookieAuthenticationProvider : ICookieAuthenticationProvider
public ref class CookieAuthenticationProvider : ICookieAuthenticationProvider
type CookieAuthenticationProvider =
class
interface ICookieAuthenticationProvider
end
public class CookieAuthenticationProvider implements ICookieAuthenticationProvider
The CookieAuthenticationProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CookieAuthenticationProvider | Create a new instance of the default provider. |
Top
Properties
Name | Description | |
---|---|---|
OnApplyRedirect | 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 | |
OnValidateIdentity | A delegate assigned to this property will be invoked when the related method is called |
Top
Methods
Name | Description | |
---|---|---|
ApplyRedirect | Called when a Challenge, SignIn, or SignOut causes a redirect in the cookie middleware | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ResponseSignIn | Implements the interface method by invoking the related delegate method | |
ToString | (Inherited from Object.) | |
ValidateIdentity | Implements the interface method by invoking the related delegate method |
Top
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.