IOAuthBearerAuthenticationProvider.ValidateIdentity Method

Validates an OAuth identity with a given context.

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

Syntax

'Declaration
Function ValidateIdentity ( _
    context As OAuthValidateIdentityContext _
) As Task
'Usage
Dim instance As IOAuthBearerAuthenticationProvider 
Dim context As OAuthValidateIdentityContext 
Dim returnValue As Task 

returnValue = instance.ValidateIdentity(context)
Task ValidateIdentity(
    OAuthValidateIdentityContext context
)
Task^ ValidateIdentity(
    OAuthValidateIdentityContext^ context
)
abstract ValidateIdentity : 
        context:OAuthValidateIdentityContext -> Task
function ValidateIdentity(
    context : OAuthValidateIdentityContext
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
The task representing the operation to validate the identity.

See Also

Reference

IOAuthBearerAuthenticationProvider Interface

Microsoft.Owin.Security.OAuth Namespace