IOAuthBearerAuthenticationProvider::ApplyChallenge Method

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)

Task^ ApplyChallenge(
	OAuthChallengeContext^ context
)

Parameters

context
Type: Microsoft.Owin.Security.OAuth::OAuthChallengeContext
Contains the default challenge.

Return Value

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