hlexperts / oauth2-mongo
Oauth2 for mongodb
0.1.1
2016-06-15 13:20 UTC
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'