extends |
Model |
|---|
One row of the security log — who got in, who was turned away, who acted as someone else.
Written once and never changed; the log is pruned as a whole after its retention period, never row by row.
Before a sign-in there is no partner: user_id and identifier carry the who until there is one; then
set_by names the person signed in and, under impersonation, on_behalf_of the person acted as.
| Methods | ||
|---|---|---|
public
static
|
olderThan(DateTimeInterface $cutoff): Builder<static>
|
# |
public
|
actor(): BelongsTo<OperatingLogPerson, $this>
|
# |
public
|
actingFor(): BelongsTo<OperatingLogPerson, $this>
|
# |
| Properties | |||
|---|---|---|---|
public
|
|
$timestamps = false
|
# |
public
|
int
|
$id
|
# |
public
|
SecurityEventType
|
$event
|
# |
public
|
CarbonImmutable
|
$occurred_at
|
# |
public
|
int|null
|
$user_id
|
# |
public
|
string|null
|
$identifier
|
# |
public
|
string|null
|
$guard
|
# |
public
|
int|null
|
$set_by
|
# |
public
|
int|null
|
$on_behalf_of
|
# |
public
|
int|null
|
$delegation_id
|
# |
public
|
string|null
|
$target
|
# |
public
|
string|null
|
$ability
|
# |
public
|
array<string, mixed>|null
|
$context
|
# |
public
|
string|null
|
$method
|
# |
public
|
string|null
|
$url
|
# |
public
|
string|null
|
$session_hash
|
# |
public
|
string|null
|
$ip
|
# |
public
|
string|null
|
$user_agent
|
# |
public
|
string|null
|
$language
|
# |