Skip to content

Commit f08b928

Browse files
authored
Merge pull request #64 from designmynight/lcobucci333
fix: set version for lcobucci/jwt
2 parents 7b0d7d4 + b2dc83d commit f08b928

5 files changed

Lines changed: 3 additions & 291 deletions

File tree

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
],
1515
"require": {
1616
"php": ">=7.1",
17+
"lcobucci/jwt": "3.3.3",
1718
"illuminate/support": "^5.5 || ^6.0",
1819
"jenssegers/mongodb": "3.3.* || 3.4.* || 3.5.* || 3.6.* || 4.0.* || 5.0.* || 6.0.*",
1920
"laravel/passport": "6.0.* || 7.0.* || 7.4.* || 7.5.* || ^8.0 || ^9.0"

src/MongodbPassportServiceProvider.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22

33
namespace DesignMyNight\Mongodb;
44

5+
use Illuminate\Support\ServiceProvider;
56
use DesignMyNight\Mongodb\Passport\AuthCode;
6-
use DesignMyNight\Mongodb\Passport\Bridge\AccessTokenRepository;
77
use DesignMyNight\Mongodb\Passport\Bridge\RefreshTokenRepository;
88
use DesignMyNight\Mongodb\Passport\Client;
99
use DesignMyNight\Mongodb\Passport\PersonalAccessClient;
10+
use DesignMyNight\Mongodb\Passport\RefreshToken;
1011
use DesignMyNight\Mongodb\Passport\Token;
11-
use Illuminate\Support\ServiceProvider;
12-
use Laravel\Passport\Bridge\AccessTokenRepository as PassportAccessTokenRepository;
1312
use Laravel\Passport\Bridge\RefreshTokenRepository as PassportRefreshTokenRepository;
1413
use Laravel\Passport\Passport;
1514

@@ -28,9 +27,5 @@ public function register()
2827
$this->app->bind(PassportRefreshTokenRepository::class, function () {
2928
return $this->app->make(RefreshTokenRepository::class);
3029
});
31-
32-
$this->app->bind(PassportAccessTokenRepository::class, function () {
33-
return $this->app->make(AccessTokenRepository::class);
34-
});
3530
}
3631
}

src/Passport/Bridge/AccessToken.php

Lines changed: 0 additions & 64 deletions
This file was deleted.

src/Passport/Bridge/AccessTokenRepository.php

Lines changed: 0 additions & 17 deletions
This file was deleted.

tests/Passport/Bridge/AccessTokenTest.php

Lines changed: 0 additions & 203 deletions
This file was deleted.

0 commit comments

Comments
 (0)