spomky-labs / oauth2-server-access-token-manager
OAuth2 Server Access Token Manager library
Requires
- spomky-labs/oauth2-interface: ~5.0.1
Requires (Dev)
Suggests
- spomky-labs/oauth2-server-bearer-token: Bearer Token
- spomky-labs/oauth2-server-mac-token: MAC Token
This package is not auto-updated.
Last update: 2015-07-23 06:55:47 UTC
README
This library provides an abstract access token manager for your OAuth2 server. It relies on the OAuth2 Interfaces Project.
You should not use directly this package unless you want to create your own access token type. If you want to use JWT Access Token or simple strings, please go to the following packages:
Note: please be aware that this library is only for access token management. If you want to implement token types (e.g. Bearer Access Token or MAC Access Token), please visit the following libraries:
The Release Process
The release process is described here.
Prerequisites
This library needs at least PHP 5.4
.
It has been successfully tested using PHP 5.3
to PHP 5.6
, PHP 7
and HHVM
Installation
The preferred way to install this library is to rely on Composer:
composer require "spomky-labs/oauth2-server-access-token-manager" "~5.0"
Extend the library
This library only contains the logic. You must extend all classes to define setters and getters.
Look at Extend classes for more information and examples.
How to use
Your classes are ready to use? Have a look at How to use to use your access token manager with an OAuth2 server.
Contributing
Requests for new features, bug fixed and all other ideas to make this library useful are welcome. Please follow these best practices.
Licence
This library is release under MIT licence.