‪TYPO3CMS  ‪main
AfterGroupsResolvedEvent.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
24 {
25  public function ‪__construct(
26  private readonly string $sourceDatabaseTable,
27  private array $groups,
28  private readonly array $originalGroupIds,
29  private readonly array $userData
30  ) {}
31 
35  public function ‪getSourceDatabaseTable(): string
36  {
37  return $this->sourceDatabaseTable;
38  }
39 
47  public function ‪getGroups(): array
48  {
49  return $this->groups;
50  }
51 
55  public function ‪setGroups(array $groups): void
56  {
57  $this->groups = $groups;
58  }
59 
63  public function ‪getOriginalGroupIds(): array
64  {
65  return $this->originalGroupIds;
66  }
67 
71  public function ‪getUserData(): array
72  {
73  return $this->userData;
74  }
75 }
‪TYPO3\CMS\Core\Authentication\Event\AfterGroupsResolvedEvent\getSourceDatabaseTable
‪string getSourceDatabaseTable()
Definition: AfterGroupsResolvedEvent.php:35
‪TYPO3\CMS\Core\Authentication\Event\AfterGroupsResolvedEvent\setGroups
‪setGroups(array $groups)
Definition: AfterGroupsResolvedEvent.php:55
‪TYPO3\CMS\Core\Authentication\Event\AfterGroupsResolvedEvent\getOriginalGroupIds
‪getOriginalGroupIds()
Definition: AfterGroupsResolvedEvent.php:63
‪TYPO3\CMS\Core\Authentication\Event\AfterGroupsResolvedEvent\__construct
‪__construct(private readonly string $sourceDatabaseTable, private array $groups, private readonly array $originalGroupIds, private readonly array $userData)
Definition: AfterGroupsResolvedEvent.php:25
‪TYPO3\CMS\Core\Authentication\Event
Definition: AbstractAuthenticationFailedEvent.php:18
‪TYPO3\CMS\Core\Authentication\Event\AfterGroupsResolvedEvent
Definition: AfterGroupsResolvedEvent.php:24
‪TYPO3\CMS\Core\Authentication\Event\AfterGroupsResolvedEvent\getGroups
‪getGroups()
Definition: AfterGroupsResolvedEvent.php:47
‪TYPO3\CMS\Core\Authentication\Event\AfterGroupsResolvedEvent\getUserData
‪getUserData()
Definition: AfterGroupsResolvedEvent.php:71