Interface AuthorizationCodeAcceptor


  • @ConsumerType
    public interface AuthorizationCodeAcceptor
    Interface that Providers can implement to indicate they can accept authorization code requests directly.
    • Method Detail

      • acceptsCodeRequest

        boolean acceptsCodeRequest​(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. 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