File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
tests/unit/LucaDegasperi/OAuth2Server Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 16
16
use League \OAuth2 \Server \ResourceServer as Checker ;
17
17
use League \OAuth2 \Server \TokenType \TokenTypeInterface ;
18
18
use League \OAuth2 \Server \Util \RedirectUri ;
19
+ use LucaDegasperi \OAuth2Server \Exceptions \NoActiveAccessTokenException ;
19
20
use Symfony \Component \HttpFoundation \Request ;
20
21
21
22
/**
@@ -91,7 +92,7 @@ public function getChecker()
91
92
*
92
93
* If the session does not have an active access token, an exception will be thrown.
93
94
*
94
- * @throws \LucaDegasperi\OAuth2Server\NoActiveAccessTokenException
95
+ * @throws \LucaDegasperi\OAuth2Server\Exceptions\ NoActiveAccessTokenException
95
96
*
96
97
* @return \League\OAuth2\Server\Entity\AccessTokenEntity
97
98
*/
Original file line number Diff line number Diff line change 9
9
* file that was distributed with this source code.
10
10
*/
11
11
12
- namespace LucaDegasperi \OAuth2Server ;
12
+ namespace LucaDegasperi \OAuth2Server \ Exceptions ;
13
13
14
14
use Exception ;
15
15
20
20
*/
21
21
class NoActiveAccessTokenException extends Exception
22
22
{
23
+ //
23
24
}
Original file line number Diff line number Diff line change 18
18
use League \OAuth2 \Server \Grant \AuthCodeGrant ;
19
19
use League \OAuth2 \Server \ResourceServer ;
20
20
use League \OAuth2 \Server \Util \RedirectUri ;
21
- use LucaDegasperi \OAuth2Server \NoActiveAccessTokenException ;
21
+ use LucaDegasperi \OAuth2Server \Exceptions \ NoActiveAccessTokenException ;
22
22
use PhpSpec \ObjectBehavior ;
23
23
use Symfony \Component \HttpFoundation \Request ;
24
24
You can’t perform that action at this time.
0 commit comments