public class AuthenticationSessionManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTH_SESSION_ID |
| Constructor and Description |
|---|
AuthenticationSessionManager(KeycloakSession session) |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationSessionModel |
createAuthenticationSession(RealmModel realm,
ClientModel client,
boolean browserCookie) |
AuthenticationSessionModel |
getCurrentAuthenticationSession(RealmModel realm) |
String |
getCurrentAuthenticationSessionId(RealmModel realm) |
UserSessionModel |
getUserSession(AuthenticationSessionModel authSession) |
void |
removeAuthenticationSession(RealmModel realm,
AuthenticationSessionModel authSession,
boolean expireRestartCookie) |
void |
setAuthSessionCookie(String authSessionId,
RealmModel realm) |
public static final String AUTH_SESSION_ID
public AuthenticationSessionManager(KeycloakSession session)
public AuthenticationSessionModel createAuthenticationSession(RealmModel realm, ClientModel client, boolean browserCookie)
public String getCurrentAuthenticationSessionId(RealmModel realm)
public AuthenticationSessionModel getCurrentAuthenticationSession(RealmModel realm)
public void setAuthSessionCookie(String authSessionId, RealmModel realm)
public void removeAuthenticationSession(RealmModel realm, AuthenticationSessionModel authSession, boolean expireRestartCookie)
public UserSessionModel getUserSession(AuthenticationSessionModel authSession)
Copyright © 2017 JBoss by Red Hat. All rights reserved.