All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
RootAuthenticationSessionModel |
createAuthenticationSession(RealmModel realm,
boolean browserCookie)
Creates a fresh authentication session for the given realm .
|
AbstractMap.SimpleEntry<String,String> |
decodeAuthSessionId(String authSessionId) |
AuthenticationSessionModel |
getAuthenticationSessionByIdAndClient(RealmModel realm,
String authSessionId,
ClientModel client,
String tabId) |
List<String> |
getAuthSessionCookieIds(RealmModel realm) |
AuthenticationSessionModel |
getCurrentAuthenticationSession(RealmModel realm,
ClientModel client,
String tabId)
Returns current authentication session if it exists, otherwise returns null.
|
RootAuthenticationSessionModel |
getCurrentRootAuthenticationSession(RealmModel realm) |
UserSessionModel |
getUserSession(AuthenticationSessionModel authSession) |
UserSessionModel |
getUserSessionFromAuthCookie(RealmModel realm) |
void |
reencodeAuthSessionCookie(String decodedAuthSessionId,
String reencodedAuthSessionId,
RealmModel realm) |
void |
removeAuthenticationSession(RealmModel realm,
AuthenticationSessionModel authSession,
boolean expireRestartCookie) |
void |
setAuthSessionCookie(String authSessionId,
RealmModel realm) |