raccourci / oauth2-php
OAuth2 库 Fork 自 Raccourci
1.2.4
2019-09-19 12:12 UTC
Requires
- php: >=5.3.2
- symfony/http-foundation: ~2.0
Requires (Dev)
- phpunit/phpunit: ~4.0
README
此库现在实现了 OAuth 2.0 草案 20。客户端仍然是草案-10。
此版本的 oauth2-php 是基于以下更改从 https://github.com/quizlet/oauth2-php 分支而来的
- 命名空间化
- 不再使用 require(_once)
- PSR-4 自动加载兼容
- 使用 HttpFoundation 请求和响应进行输入/输出
- 更具可测试性的设计
- 更好的测试覆盖率
(待处理 pull request)
https://github.com/quizlet/oauth2-php 是基于 http://code.google.com/p/oauth2-php/ 的分支,针对 OAuth2.0 草案 20 进行了更新,具有更好的面向对象设计。
http://code.google.com/p/oauth2-php/ 是原始仓库,似乎已被废弃。