IOAuthBearerAuthenticationProvider Interface

 

Specifies callback methods which the OAuthBearerAuthenticationMiddleware invokes to enable developer control over the authentication process. />

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

public interface class IOAuthBearerAuthenticationProvider

NameDescription
System_CAPS_pubmethodApplyChallenge(OAuthChallengeContext^)

Called each time a challenge is being sent to the client. By implementing this method the application may modify the challenge as needed.

System_CAPS_pubmethodRequestToken(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.

System_CAPS_pubmethodValidateIdentity(OAuthValidateIdentityContext^)

Called each time a request identity has been validated by the middleware. By implementing this method the application may alter or reject the identity which has arrived with the request.

Return to top
Show: