Interface AuthorizeRequestHook

  • All Known Implementing Classes:
    LoginHintHook

    public interface AuthorizeRequestHook
    By implementing this interface the implementation can make changes to the restlet response.
    • Method Detail

      • beforeAuthorizeHandling

        void beforeAuthorizeHandling​(OAuth2Request o2request,
                                     org.restlet.Request request,
                                     org.restlet.Response response)
        Called before the authorize request is actually handled
        Parameters:
        o2request - The current OAuth2 request.
        request - The restlet request.
        response - The restlet response.
      • afterAuthorizeSuccess

        void afterAuthorizeSuccess​(OAuth2Request o2request,
                                   org.restlet.Request request,
                                   org.restlet.Response response)
        Called after the authorize request has been completed and an authorization code is being returned.
        Parameters:
        o2request - The current OAuth2 request.
        request - The restlet request.
        response - The restlet response.