|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Names the fully authenticated ILIAS users as KeyValueStorage subjects; the subject id is the user id. More...
Inheritance diagram for ILIAS\Authentication\KeyValueStorage\AuthenticatedUserSubjectProvider:
Collaboration diagram for ILIAS\Authentication\KeyValueStorage\AuthenticatedUserSubjectProvider:Public Member Functions | |
| name () | |
| Unique among all providers, a lowercase identifier, e.g. More... | |
| subjectFor (int $user_id) | |
| name () | |
| Unique among all providers, a lowercase identifier, e.g. More... | |
Data Fields | |
| const string | NAME = 'authentication' |
Data Fields inherited from ILIAS\KeyValueStorage\Subject\SubjectProvider | |
| const int | MAX_NAME_LENGTH = 64 |
Names the fully authenticated ILIAS users as KeyValueStorage subjects; the subject id is the user id.
This names a subject. It does not discover who is logged in; that answer is {
Definition at line 33 of file AuthenticatedUserSubjectProvider.php.
| ILIAS\Authentication\KeyValueStorage\AuthenticatedUserSubjectProvider::name | ( | ) |
Unique among all providers, a lowercase identifier, e.g.
"authentication".
Implements ILIAS\KeyValueStorage\Subject\SubjectProvider.
Definition at line 37 of file AuthenticatedUserSubjectProvider.php.
References ILIAS\Authentication\KeyValueStorage\AuthenticatedUserSubjectProvider\NAME.
| ILIAS\Authentication\KeyValueStorage\AuthenticatedUserSubjectProvider::subjectFor | ( | int | $user_id | ) |
Definition at line 42 of file AuthenticatedUserSubjectProvider.php.
References $user_id.
| const string ILIAS\Authentication\KeyValueStorage\AuthenticatedUserSubjectProvider::NAME = 'authentication' |
Definition at line 35 of file AuthenticatedUserSubjectProvider.php.
Referenced by ILIAS\Authentication\KeyValueStorage\AuthenticatedUserSubjectProvider\name(), ILIAS\Tests\Authentication\KeyValueStorage\SessionAuthenticatedSubjectResolverTest\testALoggedInUserBecomesTheSubjectOfItsIdAndMayPersist(), and ILIAS\Tests\Authentication\KeyValueStorage\AuthenticatedSubjectPurgeTest\testAPositiveUserIdPurgesThatUserOfTheProvider().