ICookieAuthenticationProvider.ValidateIdentity Method (CookieValidateIdentityContext)
Called each time a request identity has been validated by the middleware. By implementing this method the application may alter or reject the identity which has arrived with the request.
Namespace: Microsoft.Owin.Security.Cookies
Assembly: Microsoft.Owin.Security.Cookies (in Microsoft.Owin.Security.Cookies.dll)
Syntax
Task ValidateIdentity(
CookieValidateIdentityContext context
)
Task^ ValidateIdentity(
CookieValidateIdentityContext^ context
)
abstract ValidateIdentity :
context:CookieValidateIdentityContext -> Task
Function ValidateIdentity (
context As CookieValidateIdentityContext
) As Task
Parameters
context
Type: Microsoft.Owin.Security.Cookies.CookieValidateIdentityContextContains information about the login session as well as the user ClaimsIdentity.
Return Value
Type: System.Threading.Tasks.Task
A Task representing the completed operation.
See Also
ICookieAuthenticationProvider Interface
Microsoft.Owin.Security.Cookies Namespace
Return to top