WeavyIOAuthBearerAuthenticationProvider.ValidateIdentity Method

Namespace:
Weavy.Web.Owin.TokenAuthentication
Assembly:
Weavy.Web.dll

ValidateIdentity(OAuthValidateIdentityContext)

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.

public Task ValidateIdentity(OAuthValidateIdentityContext context)

Parameters

context
Microsoft.Owin.Security.OAuth.OAuthValidateIdentityContext

Contains information about the login session as well as the user System.Security.Claims.ClaimsIdentity.

Returns

System.Threading.Tasks.Task

A System.Threading.Tasks.Task representing the completed operation.