Package org.keycloak.models
Interface AuthenticatedClientSessionModel
-
- All Superinterfaces:
CommonClientSessionModel
- All Known Implementing Classes:
AbstractAuthenticatedClientSessionModel,AuthenticatedClientSessionAdapter,MapAuthenticatedClientSessionAdapter,PersistentAuthenticatedClientSessionAdapter
public interface AuthenticatedClientSessionModel extends CommonClientSessionModel
- Author:
- Marek Posolda
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.sessions.CommonClientSessionModel
CommonClientSessionModel.Action, CommonClientSessionModel.ExecutionStatus
-
-
Field Summary
Fields Modifier and Type Field Description static StringSTARTED_AT_NOTE
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voiddetachFromUserSession()Detaches the client session from its user session.StringgetCurrentRefreshToken()intgetCurrentRefreshTokenUseCount()StringgetId()StringgetNote(String name)Map<String,String>getNotes()default intgetStarted()intgetTimestamp()UserSessionModelgetUserSession()voidremoveNote(String name)voidsetCurrentRefreshToken(String currentRefreshToken)voidsetCurrentRefreshTokenUseCount(int currentRefreshTokenUseCount)voidsetNote(String name, String value)voidsetTimestamp(int timestamp)-
Methods inherited from interface org.keycloak.sessions.CommonClientSessionModel
getAction, getClient, getProtocol, getRealm, getRedirectUri, setAction, setProtocol, setRedirectUri
-
-
-
-
Field Detail
-
STARTED_AT_NOTE
static final String STARTED_AT_NOTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
String getId()
-
getStarted
default int getStarted()
-
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
void setCurrentRefreshToken(String currentRefreshToken)
-
getCurrentRefreshTokenUseCount
int getCurrentRefreshTokenUseCount()
-
setCurrentRefreshTokenUseCount
void setCurrentRefreshTokenUseCount(int currentRefreshTokenUseCount)
-
removeNote
void removeNote(String name)
-
-