spomky-labs / oauth2-server-authcode-grant-type
v5.0.1
2015-05-18 22:06 UTC
Requires
Requires (Dev)
- phpunit/phpunit: ~4.5
- 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-password-client: ~5.0.0
- spomky-labs/oauth2-server-public-client: ~5.0.0
- spomky-labs/oauth2-server-refresh-token-grant-type: ~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-refresh-token-grant-type: Refresh Token Grant Type
This package is not auto-updated.
Last update: 2015-07-23 06:45:26 UTC
README
此库为OAuth2服务器添加了一个新的授权类型:授权码授予类型。
发布流程
发布流程的描述在这里:Release.md。
先决条件
此库需要至少 PHP 5.4
。它已成功在 PHP 5.3
至 PHP 5.6
、PHP 7
和 HHVM
上进行了测试。
安装
安装此库的首选方式是依赖 Composer。
composer require "spomky-labs/oauth2-server-authcode-grant-type" "~5.0.0"
扩展库
此库只包含逻辑。您必须扩展所有类来定义设置器和获取器。
有关更多信息,请参阅扩展类,以及示例。
使用方法
您的类已准备好使用?请查看如何使用,了解如何使用您的授权类型与OAuth2服务器一起使用。
贡献
欢迎提出新功能、修复错误和所有其他使此库更有用的想法。请遵循以下最佳实践。
许可
此库在MIT 许可下发布。