SecretIdentifier implements JsonSerializable

Model used to identify a secret, without actually containing the secret value.

Internal

Table of Contents

Interfaces

JsonSerializable

Properties

$name  : string
$type  : string

Methods

__construct()  : mixed
fromArray()  : self
fromJson()  : self
jsonSerialize()  : array{type: string, name: string}

Properties

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
self

fromJson()

public static fromJson(string $json) : self
Parameters
$json : string
Return values
self

jsonSerialize()

public jsonSerialize() : array{type: string, name: string}
Return values
array{type: string, name: string}

        
On this page

Search results