| 1 | <?php |
||
| 11 | class AuthenticateUserEvent extends AbstractEvent |
||
| 12 | { |
||
| 13 | |||
| 14 | const CHECK = 'authenticate.check'; |
||
| 15 | const AUTHENTICATED = 'authenticate.authenticated'; |
||
| 16 | const FAILED = 'authenticate.failed'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var AuthenticationDataVO |
||
| 20 | */ |
||
| 21 | private $authenticationData; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param AuthenticationDataVO $authentication |
||
| 25 | * @param string $eventName |
||
| 26 | */ |
||
| 27 | 1 | public function __construct(AuthenticationDataVO $authentication, string $eventName) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @return AuthenticationDataVO |
||
| 36 | */ |
||
| 37 | 1 | public function getAuthenticationData() : AuthenticationDataVO |
|
| 41 | } |
||
| 42 |