spomky-labs / oauth2-server-refresh-token-grant-type-bundle
Symfony2 Refresh Token Grant Type Bundle for OAuth2 Server Bundle
Requires
Requires (Dev)
- behat/behat: 3.*
- behat/mink: *
- behat/mink-browserkit-driver: *
- behat/mink-extension: *
- behat/symfony2-extension: 2.0.x-dev
- doctrine/doctrine-fixtures-bundle: ~2.2
- doctrine/orm: >=2.2.3,<2.5-dev
- spomky-labs/oauth2-server-bearer-access-token-bundle: ~5.0.0
- spomky-labs/oauth2-server-client-manager-supervisor-bundle: ~5.0.0
- spomky-labs/oauth2-server-password-client-bundle: ~5.0.0
- spomky-labs/oauth2-server-public-client-bundle: ~5.0.0
- spomky-labs/oauth2-server-scope-manager-bundle: ~5.0.0
- spomky-labs/oauth2-server-simple-string-access-token-bundle: ~5.0.0
- symfony/finder: ~2.3
- symfony/validator: ~2.3
- vipsoft/doctrine-data-fixtures-extension: 3.*@dev
This package is not auto-updated.
Last update: 2015-07-24 11:08:57 UTC
README
This bundle adds a new grant type on your OAuth2 Server: the refresh token grant type.
It also provides a refresh token manager.
It relies on the OAuth2 Interfaces Project.
The Release Process
The release process is described here.
Prerequisites
This bundle needs at least PHP 5.4
and Symfony v2.3
.
It has been successfully tested using:
- PHP:
PHP 5.4
toPHP 5.6
,PHP 7
andHHVM
. - Symfony:
v2.3.x
tov2.7.x
.
Installation
The preferred way to install this library is to rely on Composer:
composer require "spomky-labs/oauth2-server-refresh-token-grant-type-bundle" "~5.0.0"
Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( ... new SpomkyLabs\OAuth2ServerRefreshTokenGrantTypeBundle\SpomkyLabsOAuth2ServerRefreshTokenGrantTypeBundle(), ); }
How to use
See this page for more information.
Contributing
Requests for new features, bug fixed and all other ideas to make this bundle useful are welcome. Please follow these best practices.
Licence
This bundle is release under MIT licence.