共用方式為


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
System_CAPS_pubmethod CookieAuthenticationProvider()

Create a new instance of the default provider.

Properties

Name Description
System_CAPS_pubproperty OnApplyRedirect

A delegate assigned to this property will be invoked when the related method is called.

System_CAPS_pubproperty OnException

A delegate assigned to this property will be invoked when the related method is called.

System_CAPS_pubproperty OnResponseSignedIn

A delegate assigned to this property will be invoked when the related method is called.

System_CAPS_pubproperty OnResponseSignIn

A delegate assigned to this property will be invoked when the related method is called.

System_CAPS_pubproperty OnResponseSignOut

A delegate assigned to this property will be invoked when the related method is called.

System_CAPS_pubproperty OnValidateIdentity

A delegate assigned to this property will be invoked when the related method is called.

Methods

Name Description
System_CAPS_pubmethod ApplyRedirect(CookieApplyRedirectContext)

Implements the interface method by invoking the related delegate method.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod Exception(CookieExceptionContext)

Implements the interface method by invoking the related delegate method.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ResponseSignedIn(CookieResponseSignedInContext)

Implements the interface method by invoking the related delegate method.

System_CAPS_pubmethod ResponseSignIn(CookieResponseSignInContext)

Implements the interface method by invoking the related delegate method.

System_CAPS_pubmethod ResponseSignOut(CookieResponseSignOutContext)

Implements the interface method by invoking the related delegate method.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod 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