Interface MapAuthenticatedClientSessionEntity
-
- All Superinterfaces:
AbstractEntity,ExpirableEntity,UpdatableEntity
- All Known Implementing Classes:
HotRodAuthenticatedClientSessionEntity.AbstractHotRodAuthenticatedClientSessionEntityDelegate,HotRodAuthenticatedClientSessionEntityDelegate,JpaClientSessionEntity,JpaClientSessionMetadata,MapAuthenticatedClientSessionEntity.AbstractAuthenticatedClientSessionEntity,MapAuthenticatedClientSessionEntityDelegate,MapAuthenticatedClientSessionEntityFieldDelegate,MapAuthenticatedClientSessionEntityImpl,MapAuthenticatedClientSessionEntityImpl.Empty
public interface MapAuthenticatedClientSessionEntity extends AbstractEntity, UpdatableEntity, ExpirableEntity
- Author:
- Martin Kanis
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMapAuthenticatedClientSessionEntity.AbstractAuthenticatedClientSessionEntity-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAction()StringgetAuthMethod()StringgetClientId()StringgetCurrentRefreshToken()IntegergetCurrentRefreshTokenUseCount()StringgetNote(String name)Map<String,String>getNotes()StringgetRealmId()StringgetRedirectUri()LonggetTimestamp()Returns a point in time (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).BooleanisOffline()BooleanremoveNote(String name)voidsetAction(String action)voidsetAuthMethod(String authMethod)voidsetClientId(String clientId)voidsetCurrentRefreshToken(String currentRefreshToken)voidsetCurrentRefreshTokenUseCount(Integer currentRefreshTokenUseCount)voidsetNote(String name, String value)voidsetNotes(Map<String,String> notes)voidsetOffline(Boolean offline)voidsetRealmId(String realmId)voidsetRedirectUri(String redirectUri)voidsetTimestamp(Long timestamp)Sets a point in the (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).-
Methods inherited from interface org.keycloak.models.map.common.AbstractEntity
getId, setId
-
Methods inherited from interface org.keycloak.models.map.common.ExpirableEntity
getExpiration, setExpiration
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, isUpdated
-
-
-
-
Method Detail
-
getTimestamp
Long getTimestamp()
Returns a point in time (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).- Returns:
- a timestamp in milliseconds since The Epoch or
nullwhen the time is unknown
-
setTimestamp
void setTimestamp(Long timestamp)
Sets a point in the (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).- Parameters:
timestamp- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
getRealmId
String getRealmId()
-
setRealmId
void setRealmId(String realmId)
-
getClientId
String getClientId()
-
setClientId
void setClientId(String clientId)
-
getAuthMethod
String getAuthMethod()
-
setAuthMethod
void setAuthMethod(String authMethod)
-
getRedirectUri
String getRedirectUri()
-
setRedirectUri
void setRedirectUri(String redirectUri)
-
getAction
String getAction()
-
setAction
void setAction(String action)
-
getCurrentRefreshToken
String getCurrentRefreshToken()
-
setCurrentRefreshToken
void setCurrentRefreshToken(String currentRefreshToken)
-
getCurrentRefreshTokenUseCount
Integer getCurrentRefreshTokenUseCount()
-
setCurrentRefreshTokenUseCount
void setCurrentRefreshTokenUseCount(Integer currentRefreshTokenUseCount)
-
isOffline
Boolean isOffline()
-
setOffline
void setOffline(Boolean offline)
-
-