spomky-labs / oauth2-server-authcode-grant-type-bundle
v5.0.2
2015-06-24 15:29 UTC
Requires
- doctrine/doctrine-bundle: ~1.0
- spomky-labs/oauth2-server-authcode-grant-type: ~5.0.0
- spomky-labs/oauth2-server-authorization-endpoint-bundle: ~5.0.0
- spomky-labs/oauth2-server-configuration-bundle: ~5.0.0
- spomky-labs/oauth2-server-exception-manager-bundle: ~5.0.0
- spomky-labs/oauth2-server-token-endpoint-bundle: ~5.0.0
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-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-refresh-token-grant-type-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/form: ~2.3
- symfony/twig-bundle: ~2.3
- symfony/validator: ~2.3
- vipsoft/doctrine-data-fixtures-extension: 3.*@dev
This package is not auto-updated.
Last update: 2015-07-25 07:15:01 UTC
README
此包为 OAuth2 服务器添加了新的授权类型:授权码授权类型。
它还提供了一个授权码管理器。
它依赖于OAuth2 接口项目。
发布流程
发布流程在此描述。
先决条件
此包至少需要 PHP 5.4
和 Symfony v2.3
。
它已经使用以下进行了成功测试:
- PHP:
PHP 5.4
到PHP 5.6
,PHP 7
和HHVM
。 - Symfony:
v2.3.x
到v2.7.x
。
安装
安装此库的首选方式是依赖 Composer
composer require "spomky-labs/oauth2-server-authcode-grant-type-bundle" "~5.0.0"
启用包
在内核中启用包
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( ... new SpomkyLabs\OAuth2ServerAuthCodeGrantTypeBundle\SpomkyLabsOAuth2ServerAuthCodeGrantTypeBundle(), ); }
如何使用
有关更多信息,请参阅此页面。
贡献
欢迎提出新功能、错误修复以及所有其他使此包更有用的想法。请遵循以下最佳实践。
许可证
此包在MIT 许可证下发布。