Download the PHP package vsavritsky/slim-oauth2-routes without Composer
On this page you can find all versions of the php package vsavritsky/slim-oauth2-routes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vsavritsky/slim-oauth2-routes
More information about vsavritsky/slim-oauth2-routes
Files in vsavritsky/slim-oauth2-routes
Package slim-oauth2-routes
Short Description OAuth2 routes for use within a Slim Framework API
License MIT
Informations about the package slim-oauth2-routes
Chadicus\Slim\OAuth2\Routes
OAuth2 Server route callbacks for use within a Slim 3 Framework API
Requirements
Chadicus\Slim\OAuth2\Routes requires PHP 5.6 (or later).
Composer
To add the library as a local, per-project dependency use Composer! Simply add a dependency on
chadicus/slim-oauth2-routes
to your project's composer.json
file such as:
Contact
Developers may be contacted at:
Project Build
With a checkout of the code get Composer in your PATH and run:
A Note on Using Views
The authorize
and receive-code
route require view
objects. The given view object must implement a render method such as the one found in slim/twig-view and slim/php-view. It would be best if there was a common ViewInterface
which both implementing but as of now such an interface does not exist.
Community
Example Usage
Authorize and The UserIdProvider
Within the Authorization route, you can define a UserIdProviderInterface
to extract the user_id from the incoming request. By default the
route will look in the GET
query params.
All versions of slim-oauth2-routes with dependencies
bshaffer/oauth2-server-php Version ^1.9
vsavritsky/slim-oauth2-http Version ^4.0