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 class
MapAuthEventEntity.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 String
getClientId()
Map<String,String>
getDetails()
String
getError()
String
getIpAddress()
String
getRealmId()
String
getSessionId()
Long
getTimestamp()
Returns a point in time (timestamp in milliseconds since The Epoch) when the event entity was created.EventType
getType()
String
getUserId()
void
setClientId(String clientId)
void
setDetails(Map<String,String> details)
void
setError(String error)
void
setIpAddress(String ipAddress)
void
setRealmId(String realmId)
void
setSessionId(String sessionId)
void
setTimestamp(Long timestamp)
Sets a point in the (timestamp in milliseconds since The Epoch) when the event entity was created.void
setType(EventType type)
void
setUserId(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
null
when 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 ornull
when 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)
-
-