Authenticated

final readonly class \TYPO3\CMS\Core\Authentication\Pipeline\Authenticated

Implements
AuthenticationResult

Successful authentication outcome carrying the established Principal.

Attributes transport further facts about the authentication, like the attributes of a Symfony security token, for example the legacy user object during the migration.

Table of Contents

Interfaces

AuthenticationResult
Union type of the possible outcomes of an authentication attempt:

Properties

$attributes  : array
$principal  : Principal

Methods

__construct()  : mixed
getAttribute()  : mixed
hasAttribute()  : bool

Properties

Methods

__construct()

public __construct(Principal $principal[, array<string, mixed> $attributes = [] ]) : mixed

Parameters

$principal : Principal
$attributes : array<string, mixed> = []

getAttribute()

public getAttribute(string $name) : mixed

Parameters

$name : string

hasAttribute()

public hasAttribute(string $name) : bool

Parameters

$name : string

Return values

bool
On this page