spomky-labs / oauth2-server-token-endpoint-bundle
This package is abandoned and no longer maintained.
The author suggests using the spomky-labs/oauth2-server-bundle package instead.
Symfony2 Token Endpoint for OAuth2 Server Bundle
v5.0.1
2015-06-18 09:44 UTC
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,<2.5-dev
- spomky-labs/oauth2-server-bearer-access-token-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
Suggests
- spomky-labs/oauth2-server-authcode-grant-type-bundle: Authorization Code Grant Type
- spomky-labs/oauth2-server-client-credentials-grant-type-bundle: Client Credentials Grant Type
- spomky-labs/oauth2-server-refresh-token-grant-type-bundle: Refresh Token Grant Type
- spomky-labs/oauth2-server-resource-owner-password-credentials-grant-type-bundle: Resource Owner Password Credentials Grant Type
This package is not auto-updated.
Last update: 2015-07-23 06:52:47 UTC
README
This bundle provides the token endpoint for your OAuth2 Server.
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-token-endpoint-bundle" "~5.0.0"
Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( ... new SpomkyLabs\OAuth2ServerTokenEndpointBundle\SpomkyLabsOAuth2ServerTokenEndpointBundle(), ); }
Configuration
sl_oauth2_token_endpoint: client_manager_supervisor: my_client_manager_supervisor # The client manager supervisor access_token_type: my_access_token_type # The access token type (Bearer, MAC...) access_token_manager: my_access_token_manager # The access token manager (Simple String, JWT...) scope_manager: my_scope_manager # The scope manager end_user_manager: my_end_user_manager # The end user manager refresh_token_manager: my_refresh_token_manager # (optionnal) The refresh token manager. Not needed if refresh tokens are not used
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.