Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
18 | class RequestEvent extends AbstractEvent |
||
19 | { |
||
20 | public const CLIENT_AUTHENTICATION_FAILED = 'client.authentication.failed'; |
||
21 | public const USER_AUTHENTICATION_FAILED = 'user.authentication.failed'; |
||
22 | public const REFRESH_TOKEN_CLIENT_FAILED = 'refresh_token.client.failed'; |
||
23 | |||
24 | public const REFRESH_TOKEN_ISSUED = 'refresh_token.issued'; |
||
25 | public const ACCESS_TOKEN_ISSUED = 'access_token.issued'; |
||
26 | |||
27 | 40 | public function __construct(string $name, private ServerRequestInterface $request) |
|
30 | } |
||
31 | |||
32 | /** |
||
33 | * @codeCoverageIgnore |
||
34 | */ |
||
35 | public function getRequest(): ServerRequestInterface |
||
40 |