DsyncUserDeletedData
in package
implements
JsonSerializable
uses
JsonSerializableTrait
The event payload.
Table of Contents
Interfaces
- JsonSerializable
Properties
- $createdAt : DateTimeImmutable
- An ISO 8601 timestamp.
- $customAttributes : array<string, mixed>
- An object containing the custom attribute mapping for the Directory Provider.
- $directoryId : string
- The identifier of the Directory the Directory User belongs to.
- $email : string|null
- The email address of the user.
- $emails : array<string|int, DsyncUserDeletedDataEmail>|null
- A list of email addresses for the user.
- $firstName : string|null
- The first name of the user.
- $id : string
- Unique identifier for the Directory User.
- $idpId : string
- Unique identifier for the user, assigned by the Directory Provider. Different Directory Providers use different ID formats.
- $jobTitle : string|null
- The job title of the user.
- $lastName : string|null
- The last name of the user.
- $object : string
- Distinguishes the Directory User object.
- $organizationId : string
- The identifier for the Organization in which the Directory resides.
- $rawAttributes : array<string, mixed>
- The raw attributes received from the directory provider.
- $role : DsyncUserDeletedDataRole|null
- The primary role assigned to the user.
- $roles : array<string|int, DsyncUserDeletedDataRole>|null
- All roles assigned to the user.
- $state : DsyncUserCreatedDataState
- The state of the user.
- $updatedAt : DateTimeImmutable
- An ISO 8601 timestamp.
- $username : string|null
- The username of the user.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$createdAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$createdAt
$customAttributes
An object containing the custom attribute mapping for the Directory Provider.
public
array<string, mixed>
$customAttributes
$directoryId
The identifier of the Directory the Directory User belongs to.
public
string
$directoryId
The email address of the user.
public
string|null
$email
$emails
A list of email addresses for the user.
public
array<string|int, DsyncUserDeletedDataEmail>|null
$emails
= null
$firstName
The first name of the user.
public
string|null
$firstName
= null
$id
Unique identifier for the Directory User.
public
string
$id
$idpId
Unique identifier for the user, assigned by the Directory Provider. Different Directory Providers use different ID formats.
public
string
$idpId
$jobTitle
The job title of the user.
public
string|null
$jobTitle
= null
$lastName
The last name of the user.
public
string|null
$lastName
= null
$object
Distinguishes the Directory User object.
public
string
$object
$organizationId
The identifier for the Organization in which the Directory resides.
public
string
$organizationId
$rawAttributes
The raw attributes received from the directory provider.
public
array<string, mixed>
$rawAttributes
$role
The primary role assigned to the user.
public
DsyncUserDeletedDataRole|null
$role
= null
$roles
All roles assigned to the user.
public
array<string|int, DsyncUserDeletedDataRole>|null
$roles
= null
$state
The state of the user.
public
DsyncUserCreatedDataState
$state
$updatedAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$updatedAt
$username
The username of the user.
public
string|null
$username
= null
Methods
__construct()
public
__construct(string $object, string $id, string $directoryId, string $organizationId, string $idpId, string|null $email, DsyncUserCreatedDataState $state, array<string|int, mixed> $rawAttributes, array<string|int, mixed> $customAttributes, DateTimeImmutable $createdAt, DateTimeImmutable $updatedAt[, string|null $firstName = null ][, string|null $lastName = null ][, array<string|int, mixed>|null $emails = null ][, string|null $jobTitle = null ][, string|null $username = null ][, DsyncUserDeletedDataRole|null $role = null ][, array<string|int, mixed>|null $roles = null ]) : mixed
Parameters
- $object : string
- $id : string
- $directoryId : string
- $organizationId : string
- $idpId : string
- $email : string|null
- $state : DsyncUserCreatedDataState
- $rawAttributes : array<string|int, mixed>
- $customAttributes : array<string|int, mixed>
- $createdAt : DateTimeImmutable
- $updatedAt : DateTimeImmutable
- $firstName : string|null = null
- $lastName : string|null = null
- $emails : array<string|int, mixed>|null = null
- $jobTitle : string|null = null
- $username : string|null = null
- $role : DsyncUserDeletedDataRole|null = null
- $roles : array<string|int, mixed>|null = null
fromArray()
public
static fromArray(array<string|int, mixed> $data) : self
Parameters
- $data : array<string|int, mixed>
Return values
selfjsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>toArray()
public
toArray() : array<string|int, mixed>