Share via


IOAuthBearerAuthenticationProvider.ValidateIdentity Method (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.

Namespace:   Microsoft.Owin.Security.OAuth
Assembly:  Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)

Syntax

Task ValidateIdentity(
    OAuthValidateIdentityContext context
)
Task^ ValidateIdentity(
    OAuthValidateIdentityContext^ context
)
abstract ValidateIdentity : 
        context:OAuthValidateIdentityContext -> Task
Function ValidateIdentity (
    context As OAuthValidateIdentityContext
) As Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

A Task representing the completed operation.

See Also

IOAuthBearerAuthenticationProvider Interface
Microsoft.Owin.Security.OAuth Namespace

Return to top