CookieValidateIdentityContext Class

Context object passed to the ICookieAuthenticationProvider method ValidateIdentity.

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.Cookies.CookieValidateIdentityContext

Namespace:  Microsoft.Owin.Security.Cookies
Assembly:  Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)

Syntax

'Declaration
Public Class CookieValidateIdentityContext
'Usage
Dim instance As CookieValidateIdentityContext
public class CookieValidateIdentityContext
public ref class CookieValidateIdentityContext
type CookieValidateIdentityContext =  class end
public class CookieValidateIdentityContext

The CookieValidateIdentityContext type exposes the following members.

Constructors

  Name Description
Public method CookieValidateIdentityContext Creates a new instance of the context object.

Top

Properties

  Name Description
Public property Identity Contains the claims identity arriving with the request. May be altered to change the details of the authenticated user.
Public property Properties Contains the extra metadata arriving with the request ticket. May be altered.

Top

Methods

  Name Description
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 RejectIdentity Called to reject the incoming identity. This may be done if the application has determined the account is no longer active, and the request should be treated as if it was anonymous.
Public method ReplaceIdentity Called to replace the claims identity. The supplied identity will replace the value of the Identity property, which determines the identity of the authenticated request.
Public method ToString (Inherited from Object.)

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