IOAuthBearerAuthenticationProvider::ValidateIdentity Method

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.OAuth
Assembly:  Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)

Task^ ValidateIdentity(
	OAuthValidateIdentityContext^ context
)

Parameters

context
Type: Microsoft.Owin.Security.OAuth::OAuthValidateIdentityContext
Contains information about the login session as well as the user ClaimsIdentity.

Return Value

Type: System.Threading.Tasks::Task
A Task representing the completed operation.
Show: