Package org.keycloak.models
Interface AuthenticatedClientSessionModel
- All Superinterfaces:
CommonClientSessionModel
- All Known Implementing Classes:
AuthenticatedClientSessionAdapter,PersistentAuthenticatedClientSessionAdapter
- Author:
- Marek Posolda
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.sessions.CommonClientSessionModel
CommonClientSessionModel.Action, CommonClientSessionModel.ExecutionStatus -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidDetaches the client session from its user session.intgetId()getNotes()default intintdefault intdefault booleanvoidremoveNote(String name) voidsetCurrentRefreshToken(String currentRefreshToken) voidsetCurrentRefreshTokenUseCount(int currentRefreshTokenUseCount) voidvoidsetTimestamp(int timestamp) Methods inherited from interface org.keycloak.sessions.CommonClientSessionModel
getAction, getClient, getProtocol, getRealm, getRedirectUri, setAction, setProtocol, setRedirectUri
-
Field Details
-
STARTED_AT_NOTE
- See Also:
-
USER_SESSION_STARTED_AT_NOTE
- See Also:
-
USER_SESSION_REMEMBER_ME_NOTE
- See Also:
-
-
Method Details
-
getId
String getId() -
getStarted
default int getStarted() -
getUserSessionStarted
default int getUserSessionStarted() -
isUserSessionRememberMe
default boolean isUserSessionRememberMe() -
getTimestamp
int getTimestamp() -
setTimestamp
void setTimestamp(int timestamp) -
detachFromUserSession
void detachFromUserSession()Detaches the client session from its user session. -
getUserSession
UserSessionModel getUserSession() -
getCurrentRefreshToken
String getCurrentRefreshToken() -
setCurrentRefreshToken
-
getCurrentRefreshTokenUseCount
int getCurrentRefreshTokenUseCount() -
setCurrentRefreshTokenUseCount
void setCurrentRefreshTokenUseCount(int currentRefreshTokenUseCount) -
getNote
-
setNote
-
removeNote
-
getNotes
-