Skip to content

Commit

Permalink
feat: use fork of passport to allow use of Token interface in Repository
Browse files Browse the repository at this point in the history
  • Loading branch information
jmosul committed Aug 29, 2019
1 parent 5e2c82e commit 78bfef5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 10 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "designmynight/laravel-mongodb-passport",
"version": "1.2.0",
"description": "A package to allow laravel/passport use with jenssegers/laravel-mongodb",
"homepage": "https://github.com/designmynight/laravel-mongodb-passport",
"license": "MIT",
Expand All @@ -15,7 +16,8 @@
"require": {
"illuminate/support": "^5.5",
"jenssegers/mongodb": "3.3.* || 3.4.* || 3.5.*",
"laravel/passport": "4.0.* || 5.0.* || 6.0.* || 7.0.*"
"laravel/passport": "7.4.2",
"laravel/laravel": "5.*"
},
"autoload": {
"psr-4": {
Expand All @@ -35,5 +37,11 @@
"DesignMyNight\\Mongodb\\MongodbPassportServiceProvider"
]
}
}
},
"repositories": [
{
"type": "vcs",
"url": "[email protected]:jmosul/passport"
}
]
}
3 changes: 2 additions & 1 deletion src/Passport/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace DesignMyNight\Mongodb\Passport;

use Jenssegers\Mongodb\Eloquent\Model;
use Laravel\Passport\Contracts\Token as TokenContract;

class Token extends Model
class Token extends Model implements TokenContract
{
/**
* The primary key for the model.
Expand Down

0 comments on commit 78bfef5

Please sign in to comment.