Package com.adobe.granite.auth.oauth
Interface AuthorizationCodeAcceptor
Interface that
Providers can implement to indicate
they can accept authorization code requests directly.-
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsCodeRequest(HttpServletRequest request, OAuthConfig config) Return true if the request contains a valid authorization token that should be used to request an access token from the identity provider.
-
Method Details
-
acceptsCodeRequest
Return true if the request contains a valid authorization token that should be used to request an access token from the identity provider. The first provider to respond with true will handle the request.- Parameters:
request- The request object containing the information for the authentication.- Returns:
- true if accepted, false if not
-