IOAuthBearerAuthenticationProvider.ApplyChallenge Method (OAuthChallengeContext)
Called each time a challenge is being sent to the client. By implementing this method the application may modify the challenge as needed.
Namespace: Microsoft.Owin.Security.OAuth
Assembly: Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)
Syntax
Task ApplyChallenge(
OAuthChallengeContext context
)
Task^ ApplyChallenge(
OAuthChallengeContext^ context
)
abstract ApplyChallenge :
context:OAuthChallengeContext -> Task
Function ApplyChallenge (
context As OAuthChallengeContext
) As Task
Parameters
context
Type: Microsoft.Owin.Security.OAuth.OAuthChallengeContextContains the default challenge.
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