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 | |
---|---|---|
CookieValidateIdentityContext(IOwinContext, AuthenticationTicket, CookieAuthenticationOptions) | Creates a new instance of the context object. |
Properties
Name | Description | |
---|---|---|
Identity | Contains the claims identity arriving with the request. May be altered to change the details of the authenticated user. |
|
Options | (Inherited from BaseContext<TOptions>.) |
|
OwinContext | (Inherited from BaseContext<TOptions>.) |
|
Properties | Contains the extra meta-data arriving with the request ticket. May be altered. |
|
Request | (Inherited from BaseContext<TOptions>.) |
|
Response | (Inherited from BaseContext<TOptions>.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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. |
|
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. |
|
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