public class LogoutEndpoint extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.jboss.logging.Logger |
logger |
Constructor and Description |
---|
LogoutEndpoint(TokenManager tokenManager,
AuthenticationManager authManager,
RealmModel realm,
EventBuilder event) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
logout(String redirectUri,
String encodedIdToken,
String postLogoutRedirectUri,
String state)
Logout user session.
|
javax.ws.rs.core.Response |
logoutToken(String authorizationHeader,
javax.ws.rs.core.MultivaluedMap<String,String> form)
Logout a session via a non-browser invocation.
|
public LogoutEndpoint(TokenManager tokenManager, AuthenticationManager authManager, RealmModel realm, EventBuilder event)
@GET public javax.ws.rs.core.Response logout(@QueryParam(value="redirect_uri") String redirectUri, @QueryParam(value="id_token_hint") String encodedIdToken, @QueryParam(value="post_logout_redirect_uri") String postLogoutRedirectUri, @QueryParam(value="state") String state)
redirectUri
- @POST @Consumes(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response logoutToken(@HeaderParam(value="Authorization") String authorizationHeader, javax.ws.rs.core.MultivaluedMap<String,String> form)
authorizationHeader
- form
- Copyright © 2015. All rights reserved.