SecretIdentifier implements JsonSerializable
Model used to identify a secret, without actually containing the secret value.
Table of Contents
Interfaces
- JsonSerializable
Properties
Methods
- __construct() : mixed
- fromArray() : self
- fromJson() : self
- jsonSerialize() : array{type: string, name: string}
Properties
$name read-only
public
string
$name
$type read-only
public
string
$type
Methods
__construct()
public
__construct(string $type, string $name) : mixed
Parameters
- $type : string
- $name : string
fromArray()
public
static fromArray(array<string|int, mixed> $payload) : self
Parameters
- $payload : array<string|int, mixed>
Return values
selffromJson()
public
static fromJson(string $json) : self
Parameters
- $json : string
Return values
selfjsonSerialize()
public
jsonSerialize() : array{type: string, name: string}