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
Public method CookieAuthenticationProvider Create a new instance of the default provider.

Top

Properties

  Name Description
Public property OnApplyRedirect A delegate assigned to this property will be invoked when the related method is called
Public property OnResponseSignIn A delegate assigned to this property will be invoked when the related method is called
Public property OnValidateIdentity A delegate assigned to this property will be invoked when the related method is called

Top

Methods

  Name Description
Public method ApplyRedirect Called when a Challenge, SignIn, or SignOut causes a redirect in the cookie middleware
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ResponseSignIn Implements the interface method by invoking the related delegate method
Public method ToString (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.Owin.Security.Cookies Namespace