Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
public interface IOAuthBearerAuthenticationProvider
public interface class IOAuthBearerAuthenticationProvider
type IOAuthBearerAuthenticationProvider = interface end
Public Interface IOAuthBearerAuthenticationProvider
Methods
Name | Description | |
---|---|---|
![]() |
ApplyChallenge(OAuthChallengeContext) | Called each time a challenge is being sent to the client. By implementing this method the application may modify the challenge as needed. |
![]() |
RequestToken(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. |
![]() |
ValidateIdentity(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. |
See Also
Microsoft.Owin.Security.OAuth Namespace
Return to top