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 class
MapAuthenticatedClientSessionEntity.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 String
getAction()
String
getAuthMethod()
String
getClientId()
String
getCurrentRefreshToken()
Integer
getCurrentRefreshTokenUseCount()
String
getNote(String name)
Map<String,String>
getNotes()
String
getRealmId()
String
getRedirectUri()
Long
getTimestamp()
Returns a point in time (timestamp in milliseconds since The Epoch) when the client session entity was created or updated (refreshed).Boolean
isOffline()
Boolean
removeNote(String name)
void
setAction(String action)
void
setAuthMethod(String authMethod)
void
setClientId(String clientId)
void
setCurrentRefreshToken(String currentRefreshToken)
void
setCurrentRefreshTokenUseCount(Integer currentRefreshTokenUseCount)
void
setNote(String name, String value)
void
setNotes(Map<String,String> notes)
void
setOffline(Boolean offline)
void
setRealmId(String realmId)
void
setRedirectUri(String redirectUri)
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).-
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
null
when 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 ornull
when 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)
-
-