IOAuthBearerAuthenticationProvider::RequestToken Method

Invoked before the ClaimsIdentity is created. Gives the application an opportunity to find the identity from a different location, adjust, or reject the token.

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

Task^ RequestToken(
	OAuthRequestTokenContext^ context
)

Parameters

context
Type: Microsoft.Owin.Security.OAuth::OAuthRequestTokenContext
Contains the token string.

Return Value

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