Authenticated
final readonly class \
- 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.
Internal
not part of TYPO3 Core API yet, still experimental as part of the authentication pipeline groundwork
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
$attributes
public
array
$attributes
= []
$principal
public
Principal
$principal
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