File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 33
33
"mockery/mockery" : " ~1.0" ,
34
34
"phpunit/phpunit" : " ^8.5|^9.0" ,
35
35
"squizlabs/php_codesniffer" : " ~2.0" ,
36
- "tymon /jwt-auth" : " 1.0.* "
36
+ "php-open-source-saver /jwt-auth" : " ^1.4 " ,
37
37
},
38
38
"suggest" : {
39
- "tymon /jwt-auth" : " Protect your API with JSON Web Tokens."
39
+ "php-open-source-saver /jwt-auth" : " Protect your API with JSON Web Tokens."
40
40
},
41
41
"autoload" : {
42
42
"psr-4" : {
Original file line number Diff line number Diff line change 3
3
namespace Dingo \Api \Auth \Provider ;
4
4
5
5
use Exception ;
6
- use Tymon \JWTAuth \JWTAuth ;
6
+ use PHPOpenSourceSaver \JWTAuth \JWTAuth ;
7
7
use Dingo \Api \Routing \Route ;
8
8
use Illuminate \Http \Request ;
9
- use Tymon \JWTAuth \Exceptions \JWTException ;
9
+ use PHPOpenSourceSaver \JWTAuth \Exceptions \JWTException ;
10
10
use Symfony \Component \HttpKernel \Exception \UnauthorizedHttpException ;
11
11
12
12
class JWT extends Authorization
13
13
{
14
14
/**
15
15
* The JWTAuth instance.
16
16
*
17
- * @var \Tymon \JWTAuth\JWTAuth
17
+ * @var \PHPOpenSourceSaver \JWTAuth\JWTAuth
18
18
*/
19
19
protected $ auth ;
20
20
21
21
/**
22
22
* Create a new JWT provider instance.
23
23
*
24
- * @param \Tymon \JWTAuth\JWTAuth $auth
24
+ * @param \PHPOpenSourceSaver \JWTAuth\JWTAuth $auth
25
25
*
26
26
* @return void
27
27
*/
Original file line number Diff line number Diff line change 9
9
use Mockery as m ;
10
10
use Symfony \Component \HttpKernel \Exception \BadRequestHttpException ;
11
11
use Symfony \Component \HttpKernel \Exception \UnauthorizedHttpException ;
12
- use Tymon \JWTAuth \Exceptions \JWTException ;
12
+ use PHPOpenSourceSaver \JWTAuth \Exceptions \JWTException ;
13
13
14
14
class JWTTest extends BaseTestCase
15
15
{
@@ -20,7 +20,7 @@ public function setUp(): void
20
20
{
21
21
parent ::setUp ();
22
22
23
- $ this ->auth = m::mock ('Tymon \JWTAuth\JWTAuth ' );
23
+ $ this ->auth = m::mock ('PHPOpenSourceSaver \JWTAuth\JWTAuth ' );
24
24
$ this ->provider = new JWT ($ this ->auth );
25
25
}
26
26
You can’t perform that action at this time.
0 commit comments