Represents the state of the authentication. If the login is requested from different tabs of same browser, every browser tab has it's own state of the authentication. So there is separate AuthenticationSessionModel for every tab. Whole browser is represented by RootAuthenticationSessionModel
- 著者
- Marek Posolda
◆ addRequiredAction() [1/2]
void org.keycloak.sessions.AuthenticationSessionModel.addRequiredAction |
( |
String |
action | ) |
|
◆ addRequiredAction() [2/2]
void org.keycloak.sessions.AuthenticationSessionModel.addRequiredAction |
( |
UserModel.RequiredAction |
action | ) |
|
◆ clearAuthNotes()
void org.keycloak.sessions.AuthenticationSessionModel.clearAuthNotes |
( |
| ) |
|
Clears all authentication note. Authentication notes are notes used typically by authenticators and authentication flows. They are cleared when authentication session is restarted
◆ clearClientNotes()
void org.keycloak.sessions.AuthenticationSessionModel.clearClientNotes |
( |
| ) |
|
Clears all client notes. Client notes are notes specific to client protocol. They are NOT cleared when authentication session is restarted.
◆ clearExecutionStatus()
void org.keycloak.sessions.AuthenticationSessionModel.clearExecutionStatus |
( |
| ) |
|
◆ clearUserSessionNotes()
void org.keycloak.sessions.AuthenticationSessionModel.clearUserSessionNotes |
( |
| ) |
|
Clears all user session notes. User session notes are notes you want be applied to the UserSessionModel when the client session is attached to it.
◆ getAction()
String org.keycloak.sessions.CommonClientSessionModel.getAction |
( |
| ) |
|
|
inherited |
◆ getAuthenticatedUser()
UserModel org.keycloak.sessions.AuthenticationSessionModel.getAuthenticatedUser |
( |
| ) |
|
◆ getAuthNote()
String org.keycloak.sessions.AuthenticationSessionModel.getAuthNote |
( |
String |
name | ) |
|
Retrieves value of the given authentication note to the given value. Authentication notes are notes used typically by authenticators and authentication flows. They are cleared when authentication session is restarted
◆ getClient()
ClientModel org.keycloak.sessions.CommonClientSessionModel.getClient |
( |
| ) |
|
|
inherited |
◆ getClientNote()
String org.keycloak.sessions.AuthenticationSessionModel.getClientNote |
( |
String |
name | ) |
|
Retrieves value of the given client note to the given value. Client notes are notes specific to client protocol. They are NOT cleared when authentication session is restarted.
◆ getClientNotes()
Map<String, String> org.keycloak.sessions.AuthenticationSessionModel.getClientNotes |
( |
| ) |
|
Retrieves the (name, value) map of client notes. Client notes are notes specific to client protocol. They are NOT cleared when authentication session is restarted.
◆ getClientScopes()
Set<String> org.keycloak.sessions.AuthenticationSessionModel.getClientScopes |
( |
| ) |
|
◆ getExecutionStatus()
Map<String, ExecutionStatus> org.keycloak.sessions.AuthenticationSessionModel.getExecutionStatus |
( |
| ) |
|
◆ getParentSession()
◆ getProtocol()
String org.keycloak.sessions.CommonClientSessionModel.getProtocol |
( |
| ) |
|
|
inherited |
◆ getRealm()
RealmModel org.keycloak.sessions.CommonClientSessionModel.getRealm |
( |
| ) |
|
|
inherited |
◆ getRedirectUri()
String org.keycloak.sessions.CommonClientSessionModel.getRedirectUri |
( |
| ) |
|
|
inherited |
◆ getRequiredActions()
Set<String> org.keycloak.sessions.AuthenticationSessionModel.getRequiredActions |
( |
| ) |
|
Required actions that are attached to this client session.
- 戻り値
◆ getTabId()
String org.keycloak.sessions.AuthenticationSessionModel.getTabId |
( |
| ) |
|
◆ getUserSessionNotes()
Map<String, String> org.keycloak.sessions.AuthenticationSessionModel.getUserSessionNotes |
( |
| ) |
|
Retrieves value of given user session note. User session notes are notes you want be applied to the UserSessionModel when the client session is attached to it.
◆ removeAuthNote()
void org.keycloak.sessions.AuthenticationSessionModel.removeAuthNote |
( |
String |
name | ) |
|
Removes the given authentication note. Authentication notes are notes used typically by authenticators and authentication flows. They are cleared when authentication session is restarted
◆ removeClientNote()
void org.keycloak.sessions.AuthenticationSessionModel.removeClientNote |
( |
String |
name | ) |
|
Removes the given client note. Client notes are notes specific to client protocol. They are NOT cleared when authentication session is restarted.
◆ removeRequiredAction() [1/2]
void org.keycloak.sessions.AuthenticationSessionModel.removeRequiredAction |
( |
String |
action | ) |
|
◆ removeRequiredAction() [2/2]
void org.keycloak.sessions.AuthenticationSessionModel.removeRequiredAction |
( |
UserModel.RequiredAction |
action | ) |
|
◆ setAction()
void org.keycloak.sessions.CommonClientSessionModel.setAction |
( |
String |
action | ) |
|
|
inherited |
◆ setAuthenticatedUser()
void org.keycloak.sessions.AuthenticationSessionModel.setAuthenticatedUser |
( |
UserModel |
user | ) |
|
◆ setAuthNote()
void org.keycloak.sessions.AuthenticationSessionModel.setAuthNote |
( |
String |
name, |
|
|
String |
value |
|
) |
| |
Sets the given authentication note to the given value. Authentication notes are notes used typically by authenticators and authentication flows. They are cleared when authentication session is restarted
◆ setClientNote()
void org.keycloak.sessions.AuthenticationSessionModel.setClientNote |
( |
String |
name, |
|
|
String |
value |
|
) |
| |
Sets the given client note to the given value. Client notes are notes specific to client protocol. They are NOT cleared when authentication session is restarted.
◆ setClientScopes()
void org.keycloak.sessions.AuthenticationSessionModel.setClientScopes |
( |
Set< String > |
clientScopes | ) |
|
◆ setExecutionStatus()
void org.keycloak.sessions.AuthenticationSessionModel.setExecutionStatus |
( |
String |
authenticator, |
|
|
ExecutionStatus |
status |
|
) |
| |
◆ setProtocol()
void org.keycloak.sessions.CommonClientSessionModel.setProtocol |
( |
String |
method | ) |
|
|
inherited |
◆ setRedirectUri()
void org.keycloak.sessions.CommonClientSessionModel.setRedirectUri |
( |
String |
uri | ) |
|
|
inherited |
◆ setUserSessionNote()
void org.keycloak.sessions.AuthenticationSessionModel.setUserSessionNote |
( |
String |
name, |
|
|
String |
value |
|
) |
| |
Sets the given user session note to the given value. User session notes are notes you want be applied to the UserSessionModel when the client session is attached to it.
このインタフェース詳解は次のファイルから抽出されました: