Represents usually one browser session with potentially many browser tabs. Every browser tab is represented by AuthenticationSessionModel of different client.
- 著者
- Marek Posolda
◆ createAuthenticationSession()
Create new authentication session and returns it. Overwrites existing session for particular client if already exists.
- 引数
-
- 戻り値
- non-null fresh authentication session
◆ getAuthenticationSession()
- 戻り値
- authentication session for particular client and tab or null if it doesn't yet exists.
◆ getAuthenticationSessions()
Key is tabId, Value is AuthenticationSessionModel.
- 戻り値
- authentication sessions or empty map if no authenticationSessions presents. Never return null.
◆ getId()
String org.keycloak.sessions.RootAuthenticationSessionModel.getId |
( |
| ) |
|
◆ getRealm()
RealmModel org.keycloak.sessions.RootAuthenticationSessionModel.getRealm |
( |
| ) |
|
◆ getTimestamp()
int org.keycloak.sessions.RootAuthenticationSessionModel.getTimestamp |
( |
| ) |
|
◆ restartSession()
void org.keycloak.sessions.RootAuthenticationSessionModel.restartSession |
( |
RealmModel |
realm | ) |
|
Will completely restart whole state of authentication session. It will just keep same ID. It will setup it with provided realm.
◆ setTimestamp()
void org.keycloak.sessions.RootAuthenticationSessionModel.setTimestamp |
( |
int |
timestamp | ) |
|
このインタフェース詳解は次のファイルから抽出されました: