CookieValidateIdentityContext.ReplaceIdentity Method

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

'Declaration
Public Sub ReplaceIdentity ( _
    identity As IIdentity _
)
'Usage
Dim instance As CookieValidateIdentityContext 
Dim identity As IIdentity

instance.ReplaceIdentity(identity)
public void ReplaceIdentity(
    IIdentity identity
)
public:
void ReplaceIdentity(
    IIdentity^ identity
)
member ReplaceIdentity : 
        identity:IIdentity -> unit
public function ReplaceIdentity(
    identity : IIdentity
)

Parameters

See Also

Reference

CookieValidateIdentityContext Class

Microsoft.Owin.Security.Cookies Namespace