spomky-labs / oauth2-server-token-endpoint
v5.0.3
2015-05-12 14:28 UTC
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
此库为您的 OAuth2 服务器提供一个抽象的令牌端点。
它依赖于 OAuth2 接口项目。
发布流程
发布流程的描述见此处。
先决条件
此库至少需要 PHP 5.4
。它已在 PHP 5.3
到 PHP 5.6
、PHP 7
和 HHVM
上成功测试。
安装
安装此库的首选方法是依赖 Composer。
composer require "spomky-labs/oauth2-server-token-endpoint" "~5.0.0"
扩展库
此库只包含逻辑。您必须扩展所有类来定义设置器和获取器。
有关更多信息示例,请参阅 扩展类。
如何使用
您的类已准备好使用?请查阅 如何使用 了解如何使用 OAuth2 服务器与您的异常管理器。
贡献
欢迎对新功能、错误修复以及使此库更有用的所有其他想法的请求。请遵循这些最佳实践。
许可
此库在 MIT 许可证 下发布。