@@ -34,7 +34,6 @@ |
||
34 | 34 | /** |
35 | 35 | * RequestEvent constructor. |
36 | 36 | * |
37 | - * @param string $name |
|
38 | 37 | * @param ServerRequestInterface $request |
39 | 38 | */ |
40 | 39 | public function __construct(ServerRequestInterface $request) |
@@ -10,13 +10,13 @@ |
||
10 | 10 | |
11 | 11 | namespace League\OAuth2\Server\Event; |
12 | 12 | |
13 | -use Psr\Http\Message\ServerRequestInterface; |
|
14 | -use Psr\EventDispatcher\StoppableEventInterface; |
|
15 | -use League\OAuth2\Server\Event\ClientAuthenticationFailedEvent; |
|
16 | 13 | use League\OAuth2\Server\Event\AccessTokenIssuedEvent; |
17 | -use League\OAuth2\Server\Event\UserAuthenticationFailedEvent; |
|
18 | -use League\OAuth2\Server\Event\RefreshTokenIssuedEvent; |
|
14 | +use League\OAuth2\Server\Event\ClientAuthenticationFailedEvent; |
|
19 | 15 | use League\OAuth2\Server\Event\RefreshTokenClientFailedEvent; |
16 | +use League\OAuth2\Server\Event\RefreshTokenIssuedEvent; |
|
17 | +use League\OAuth2\Server\Event\UserAuthenticationFailedEvent; |
|
18 | +use Psr\EventDispatcher\StoppableEventInterface; |
|
19 | +use Psr\Http\Message\ServerRequestInterface; |
|
20 | 20 | |
21 | 21 | class RequestEvent implements StoppableEventInterface |
22 | 22 | { |
@@ -14,10 +14,10 @@ |
||
14 | 14 | use Exception; |
15 | 15 | use League\OAuth2\Server\Entities\ClientEntityInterface; |
16 | 16 | use League\OAuth2\Server\Entities\UserEntityInterface; |
17 | +use League\OAuth2\Server\Event\RequestEvent; |
|
17 | 18 | use League\OAuth2\Server\Exception\OAuthServerException; |
18 | 19 | use League\OAuth2\Server\Repositories\AuthCodeRepositoryInterface; |
19 | 20 | use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; |
20 | -use League\OAuth2\Server\Event\RequestEvent; |
|
21 | 21 | use League\OAuth2\Server\RequestTypes\AuthorizationRequest; |
22 | 22 | use League\OAuth2\Server\ResponseTypes\RedirectResponse; |
23 | 23 | use League\OAuth2\Server\ResponseTypes\ResponseTypeInterface; |
@@ -14,10 +14,10 @@ |
||
14 | 14 | use DateInterval; |
15 | 15 | use League\OAuth2\Server\Entities\ClientEntityInterface; |
16 | 16 | use League\OAuth2\Server\Entities\UserEntityInterface; |
17 | +use League\OAuth2\Server\Event\RequestEvent; |
|
17 | 18 | use League\OAuth2\Server\Exception\OAuthServerException; |
18 | 19 | use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; |
19 | 20 | use League\OAuth2\Server\Repositories\UserRepositoryInterface; |
20 | -use League\OAuth2\Server\Event\RequestEvent; |
|
21 | 21 | use League\OAuth2\Server\ResponseTypes\ResponseTypeInterface; |
22 | 22 | use Psr\Http\Message\ServerRequestInterface; |
23 | 23 |
@@ -13,9 +13,9 @@ |
||
13 | 13 | |
14 | 14 | use DateInterval; |
15 | 15 | use Exception; |
16 | +use League\OAuth2\Server\Event\RequestEvent; |
|
16 | 17 | use League\OAuth2\Server\Exception\OAuthServerException; |
17 | 18 | use League\OAuth2\Server\Repositories\RefreshTokenRepositoryInterface; |
18 | -use League\OAuth2\Server\Event\RequestEvent; |
|
19 | 19 | use League\OAuth2\Server\ResponseTypes\ResponseTypeInterface; |
20 | 20 | use Psr\Http\Message\ServerRequestInterface; |
21 | 21 |