spomky-labs / oauth2-server-token-endpoint
Token Endpoint for OAuth2 Server
Requires
- spomky-labs/oauth2-interface: ~5.0.3
- spomky-labs/uri-util: ~1.0.0
Requires (Dev)
- phpunit/phpunit: ~4.5
- spomky-labs/defuse-generator: ~1.0.0
- spomky-labs/oauth2-server-bearer-token: ~5.0.0
- spomky-labs/oauth2-server-client-manager-supervisor: ~5.0.0
- spomky-labs/oauth2-server-exception-manager: ~5.0.0
- spomky-labs/oauth2-server-public-client: ~5.0.0
- spomky-labs/oauth2-server-scope-manager: ~5.0.0
- spomky-labs/oauth2-server-simple-string-access-token: ~5.0.0
Suggests
- spomky-labs/oauth2-server-authcode-grant-type: Authorization Code Grant Type
- spomky-labs/oauth2-server-bearer-token: Bearer Token type
- spomky-labs/oauth2-server-client-credentials-grant-type: Client Credentials Grant Type
- spomky-labs/oauth2-server-exception-manager: A basic exception manager
- spomky-labs/oauth2-server-jwt-access-token: JWT as Access Token
- spomky-labs/oauth2-server-mac-token: MAC Token type
- spomky-labs/oauth2-server-refresh-token-grant-type: Refresh Token Grant Type
- spomky-labs/oauth2-server-resource-owner-password-credentials-grant-type: Resource Owner Password Credentials Grant Type
- spomky-labs/oauth2-server-simple-string-access-token: Random strings as Access Token
README
This library provides an abstract token endpoint for your OAuth2 Server.
It relies on the OAuth2 Interfaces Project.
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-token-endpoint" "~5.0.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 exception 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.