public class LogoutEndpoint extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static ServicesLogger |
logger |
| Constructor and Description |
|---|
LogoutEndpoint(TokenManager tokenManager,
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)
Logout a session via a non-browser invocation.
|
protected static ServicesLogger logger
public LogoutEndpoint(TokenManager tokenManager, 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)
authorizationHeader - Copyright © 2016 JBoss by Red Hat. All rights reserved.