IOAuthBearerAuthenticationProvider.RequestToken Method (OAuthRequestTokenContext)
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)
Syntax
Task RequestToken(
OAuthRequestTokenContext context
)
Task^ RequestToken(
OAuthRequestTokenContext^ context
)
abstract RequestToken :
context:OAuthRequestTokenContext -> Task
Function RequestToken (
context As OAuthRequestTokenContext
) As Task
Parameters
context
Type: Microsoft.Owin.Security.OAuth.OAuthRequestTokenContextContains the token string.
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