Nebo15 / lumen-oauth2-mongo by AndrewDryga

Oauth2 Storage + Oauthable interface with trait for user model
2,017
0
7
Package Data
Maintainer Username: AndrewDryga
Package Create Date: 2016-03-04
Package Last Update: 2016-06-15
Language: PHP
License: MIT
Last Refreshed: 2026-02-02 15:04:32
Package Statistics
Total Downloads: 2,017
Monthly Downloads: 39
Daily Downloads: 2
Total Stars: 0
Total Watchers: 7
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'