承接 jk/oauth2-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jk/oauth2-php

最新稳定版本:0.20.1

Composer 安装命令:

composer require jk/oauth2-php

包简介

OAuth2 Draft 20 server implementation

README 文档

README

OAuth 2 logo

OAuth2 PHP implementation

This implementation consists of a server and client.

The master branch implements the IETF OAuth 2.0 Draft 10 specification. You should proabably take a look at the draft-20 branch for the latest and greatest code. Draft 20 was marked to be ready to implement and should be the last draft of OAuth 2.0 before it goes RFC. The draft-20 branch aims to implement the Bearer Token Draft and perhaps in the future even the MAC Token Draft.

Requirments

  • A recent version of PHP5 (tested on PHP 5.3.5)
  • PDO supported SQL backend (tested with MySQL 5.5.9), if you want to use the PDO example
  • but you can implement the IOAuth2* interfaces under the lib directory by your self (there is no reason, why a NoSQL backend shouldn't be working)

How to setup the OAuth 2 server component

Please have look in server/examples/pdo directory. This should be working with a MySQL server. You can find the scheme SQL under server/examples/pdo/mysql_create_tables.sql and adjust the PDO dsn in server/examples/pdo/config.php.

References

Licensing

This repository is released under the MIT licence. Check LICENSE.txt for more detail.

统计信息

  • 总下载量: 1.44k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 1
  • Forks: 244
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-19