nebo15/lumen.oauth2-mongodb

Oauth2 Storage + Oauthable interface with trait for user model

0.1.1 2016-06-15 13:20 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:28:45 UTC


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'