ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\Authentication\Domain\AuthenticatedUser Interface Reference

Query port for a fully authenticated ILIAS user in the current request. More...

+ Inheritance diagram for ILIAS\Authentication\Domain\AuthenticatedUser:
+ Collaboration diagram for ILIAS\Authentication\Domain\AuthenticatedUser:

Public Member Functions

 id ()
 

Detailed Description

Query port for a fully authenticated ILIAS user in the current request.

Anonymous sessions and missing authentication return {

See also
Result\Error}. Other components consume this via $use[AuthenticatedUser::class].

Definition at line 31 of file AuthenticatedUser.php.

Member Function Documentation

◆ id()

ILIAS\Authentication\Domain\AuthenticatedUser::id ( )
Returns
Result<int> Positive when a logged-in user is present.

Implemented in ILIAS\Authentication\Infrastructure\SessionAuthenticatedUser.


The documentation for this interface was generated from the following file: