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许可证下发布。