oauth2-framework / token-type-manager-library
OAuth2 Token Type Manager Library
Requires
- php: ^7.0
- beberlei/assert: ^2.6.4
- http-interop/http-factory: ^0.2
- http-interop/http-middleware: ^0.4
- oauth2-framework/response-factory-library: ^1.0@dev
- psr/http-message: ^1.0
Requires (Dev)
- http-interop/http-factory-diactoros: ^0.2
- phpunit/phpunit: ^5.0
- satooshi/php-coveralls: ^1.0
This package is not auto-updated.
Last update: 2017-01-31 15:55:10 UTC
README
This library provides a Token Type Manager that is able to support several token types and find tokens in a request as described in the OAuth2 Framework protocol (RFC6749) and associated specifications.
The following token types are available:
- Bearer access token (RFC6750)
- MAC access token (IETF draft 02 only) - The implementation is stopped until the specification has not reach maturity
The Token Type Manager is able to use any other Access Token Types.
The Release Process
The release process is described here.
Prerequisites
It has been successfully tested using PHP 7.0
, PHP 7.1
and nightly
.
Installation
The preferred way to install this library is to rely on Composer:
composer require "oauth2-framework/token-type-manager-library"
How to use
Have a look at How to use to use OAuth2 server and handle your first requests.
Contributing
Requests for new features, bug fixed and all other ideas to make this library useful are welcome. The best contribution you could provide is by fixing the opened issues where help is wanted
Please make sure to follow these best practices.
Licence
This library is release under MIT licence.