nebo15 / lumen.oauth2-mongodb
Oauth2 Storage + Oauthable interface with trait for user model
Installs: 1 903
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 9
Forks: 2
Open Issues: 0
Requires
Requires (Dev)
- jenssegers/mongodb: 3.*
- laravel/lumen-framework: 5.2.*
- squizlabs/php_codesniffer: 2.*
README
Package for creating oauthable authorization in project.
TODO
- Model User should be implement Nebo15\LumenOauth2\Interfaces\Oauthable
- Add trait for model User Nebo15\LumenOauth2\Traits\Oauthable
- Add service provider Nebo15\LumenOauth2\Providers\ServiceProvider
- In routes.php call routes $app->make('Oauth.routes')->makeRestRoutes();
Routes middleware for oauth: 'oauth'