/** * Executes the call to the REST Service requesting to end session and processes the response. * * @param idTokenHint The issued ID Token. * @param postLogoutRedirectUri The URL to which the RP is requesting that the End-User's User-Agent be redirected * after a logout has been performed. * @param state The state. * @return The service response. */ public EndSessionResponse execEndSession(String idTokenHint, String postLogoutRedirectUri, String state) { setRequest(new EndSessionRequest(idTokenHint, postLogoutRedirectUri, state)); return exec(); }
endSessionClient.setRequest(endSessionRequest); EndSessionResponse endSessionResponse = endSessionClient.exec();