Nebo15 / lumen-oauth2-mongo by AndrewDryga

Oauth2 Storage + Oauthable interface with trait for user model
1,906
0
9
Package Data
Maintainer Username: AndrewDryga
Package Create Date: 2016-03-04
Package Last Update: 2016-06-15
Language: PHP
License: MIT
Last Refreshed: 2024-12-15 15:13:07
Package Statistics
Total Downloads: 1,906
Monthly Downloads: 3
Daily Downloads: 0
Total Stars: 0
Total Watchers: 9
Total Forks: 2
Total Open Issues: 0

Lumen oauth2 mongo

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'