IOAuthBearerAuthenticationProvider.RequestToken Method
Invoked before the ClaimsIdentity is created. Gives the application an opportinity 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
'Declaration
Function RequestToken ( _
context As OAuthRequestTokenContext _
) As Task
'Usage
Dim instance As IOAuthBearerAuthenticationProvider
Dim context As OAuthRequestTokenContext
Dim returnValue As Task
returnValue = instance.RequestToken(context)
Task RequestToken(
OAuthRequestTokenContext context
)
Task^ RequestToken(
OAuthRequestTokenContext^ context
)
abstract RequestToken :
context:OAuthRequestTokenContext -> Task
function RequestToken(
context : OAuthRequestTokenContext
) : Task
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.