extends |
AuditEvent |
|---|---|
implements |
GenericEventInterface |
uses |
GenericEventTrait |
Event where a change has occurred to a user consent.
The $eventName can be one of the following:
consent_revoke
| Methods | ||
|---|---|---|
public
|
__construct(string $eventName, User $user, string $cid, array<string, mixed> $prefs)
|
# |
public
|
getConsentID(): string
|
# |
public
|
getUserPrefs(): array<string, mixed>
|
# |
| Methods inherited from SimpleID\Base\AuditEvent |
|---|
getTime(), getIP(), getUserAgent(), getLocation(), getSubject(), getClient(), getAuditEventName() |
| Methods used from SimpleID\Util\Events\GenericEventTrait |
|---|
setEventName(), getEventName() |
| Properties | |||
|---|---|---|---|
protected
|
string
|
$cid
|
# |
protected
|
array<string, mixed>
|
$prefs
|
# |
| Properties inherited from SimpleID\Base\AuditEvent |
|---|
$time, $ip, $userAgent, $location, $subject, $client |
| Properties used from SimpleID\Util\Events\GenericEventTrait |
|---|
$eventName |