CookieValidateIdentityContext Class

 

Context object passed to the ICookieAuthenticationProvider method ValidateIdentity.

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

Inheritance Hierarchy

System.Object
  Microsoft.Owin.Security.Provider.BaseContext<TOptions>
    Microsoft.Owin.Security.Cookies.CookieValidateIdentityContext

Syntax

public class CookieValidateIdentityContext : BaseContext<CookieAuthenticationOptions>
public ref class CookieValidateIdentityContext : BaseContext<CookieAuthenticationOptions^>
type CookieValidateIdentityContext = 
    class
        inherit BaseContext<CookieAuthenticationOptions>
    end
Public Class CookieValidateIdentityContext
    Inherits BaseContext(Of CookieAuthenticationOptions)

Constructors

Name Description
System_CAPS_pubmethod CookieValidateIdentityContext(IOwinContext, AuthenticationTicket, CookieAuthenticationOptions)

Creates a new instance of the context object.

Properties

Name Description
System_CAPS_pubproperty Identity

Contains the claims identity arriving with the request. May be altered to change the details of the authenticated user.

System_CAPS_pubproperty Options

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty OwinContext

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty Properties

Contains the extra meta-data arriving with the request ticket. May be altered.

System_CAPS_pubproperty Request

(Inherited from BaseContext<TOptions>.)

System_CAPS_pubproperty Response

(Inherited from BaseContext<TOptions>.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

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 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.

System_CAPS_pubmethod ReplaceIdentity(IIdentity)

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.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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