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.CommonClientSessionModelCommonClientSessionModel.Action, CommonClientSessionModel.ExecutionStatus
 
- 
 - 
Field SummaryFields Modifier and Type Field Description static StringSTARTED_AT_NOTE
 - 
Method SummaryAll 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.CommonClientSessionModelgetAction, getClient, getProtocol, getRealm, getRedirectUri, setAction, setProtocol, setRedirectUri
 
- 
 
- 
- 
- 
Field Detail- 
STARTED_AT_NOTEstatic final String STARTED_AT_NOTE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getIdString getId() 
 - 
getStarteddefault int getStarted() 
 - 
getTimestampint getTimestamp() 
 - 
setTimestampvoid setTimestamp(int timestamp) 
 - 
detachFromUserSessionvoid detachFromUserSession() Detaches the client session from its user session.
 - 
getUserSessionUserSessionModel getUserSession() 
 - 
getCurrentRefreshTokenString getCurrentRefreshToken() 
 - 
setCurrentRefreshTokenvoid setCurrentRefreshToken(String currentRefreshToken) 
 - 
getCurrentRefreshTokenUseCountint getCurrentRefreshTokenUseCount() 
 - 
setCurrentRefreshTokenUseCountvoid setCurrentRefreshTokenUseCount(int currentRefreshTokenUseCount) 
 - 
removeNotevoid removeNote(String name) 
 
- 
 
-