SecretIdentifier

class \TYPO3\CMS\Core\Security\SecretIdentifier

Implements
JsonSerializable

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

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 $payload) : self

Parameters

$payload : array

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