Package org.forgerock.oauth2.restlet
Interface AuthorizeRequestHook
-
- All Known Implementing Classes:
LoginHintHook
public interface AuthorizeRequestHookBy implementing this interface the implementation can make changes to the restlet response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterAuthorizeSuccess(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.voidbeforeAuthorizeHandling(OAuth2Request o2request, org.restlet.Request request, org.restlet.Response response)Called before the authorize request is actually handled
-
-
-
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.
-
-