Package org.keycloak.models.map.events
Interface MapAuthEventEntity
-
- All Superinterfaces:
AbstractEntity,ExpirableEntity,UpdatableEntity
- All Known Implementing Classes:
HotRodAuthEventEntity.AbstractHotRodAuthEventEntityDelegate,HotRodAuthEventEntityDelegate,JpaAuthEventEntity,JpaAuthEventMetadata,MapAuthEventEntity.AbstractAuthEventEntity,MapAuthEventEntityDelegate,MapAuthEventEntityFieldDelegate,MapAuthEventEntityImpl,MapAuthEventEntityImpl.Empty
public interface MapAuthEventEntity extends UpdatableEntity, AbstractEntity, ExpirableEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMapAuthEventEntity.AbstractAuthEventEntity-
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 StringgetClientId()Map<String,String>getDetails()StringgetError()StringgetIpAddress()StringgetRealmId()StringgetSessionId()LonggetTimestamp()Returns a point in time (timestamp in milliseconds since The Epoch) when the event entity was created.EventTypegetType()StringgetUserId()voidsetClientId(String clientId)voidsetDetails(Map<String,String> details)voidsetError(String error)voidsetIpAddress(String ipAddress)voidsetRealmId(String realmId)voidsetSessionId(String sessionId)voidsetTimestamp(Long timestamp)Sets a point in the (timestamp in milliseconds since The Epoch) when the event entity was created.voidsetType(EventType type)voidsetUserId(String userId)-
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 event entity was created.- 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 event entity was created.- Parameters:
timestamp- a timestamp in milliseconds since The Epoch ornullwhen the time is unknown
-
getType
EventType getType()
-
setType
void setType(EventType type)
-
getRealmId
String getRealmId()
-
setRealmId
void setRealmId(String realmId)
-
getClientId
String getClientId()
-
setClientId
void setClientId(String clientId)
-
getUserId
String getUserId()
-
setUserId
void setUserId(String userId)
-
getSessionId
String getSessionId()
-
setSessionId
void setSessionId(String sessionId)
-
getIpAddress
String getIpAddress()
-
setIpAddress
void setIpAddress(String ipAddress)
-
getError
String getError()
-
setError
void setError(String error)
-
-