ApplicationCredentialsListItem
in package
implements
JsonSerializable
uses
JsonSerializableTrait
Read onlyYes
Table of Contents
Interfaces
- JsonSerializable
Properties
- $createdAt : DateTimeImmutable
- An ISO 8601 timestamp.
- $id : string
- The unique ID of the client secret.
- $lastUsedAt : string|null
- The timestamp when the client secret was last used, or null if never used.
- $object : string
- Distinguishes the connect application secret object.
- $secretHint : string
- A hint showing the last few characters of the secret value.
- $updatedAt : DateTimeImmutable
- An ISO 8601 timestamp.
Methods
- __construct() : mixed
- fromArray() : self
- jsonSerialize() : array<string|int, mixed>
- toArray() : array<string|int, mixed>
Properties
$createdAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$createdAt
$id
The unique ID of the client secret.
public
string
$id
$lastUsedAt
The timestamp when the client secret was last used, or null if never used.
public
string|null
$lastUsedAt
$object
Distinguishes the connect application secret object.
public
string
$object
$secretHint
A hint showing the last few characters of the secret value.
public
string
$secretHint
$updatedAt
An ISO 8601 timestamp.
public
DateTimeImmutable
$updatedAt
Methods
__construct()
public
__construct(string $object, string $id, string $secretHint, string|null $lastUsedAt, DateTimeImmutable $createdAt, DateTimeImmutable $updatedAt) : mixed
Parameters
- $object : string
- $id : string
- $secretHint : string
- $lastUsedAt : string|null
- $createdAt : DateTimeImmutable
- $updatedAt : DateTimeImmutable
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>