CookieValidateIdentityContext.ReplaceIdentity Method (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.
Namespace: Microsoft.Owin.Security.Cookies
Assembly: Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)
Syntax
public void ReplaceIdentity(
IIdentity identity
)
public:
void ReplaceIdentity(
IIdentity^ identity
)
member ReplaceIdentity :
identity:IIdentity -> unit
Public Sub ReplaceIdentity (
identity As IIdentity
)
Parameters
identity
Type: System.Security.Principal.IIdentityThe identity used as the replacement.
See Also
CookieValidateIdentityContext Class
Microsoft.Owin.Security.Cookies Namespace
Return to top