atrauzzi/oauth2-server 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

atrauzzi/oauth2-server

Composer 安装命令:

composer require atrauzzi/oauth2-server

包简介

An Oauth2 server library designed to be easy to integrate.

README 文档

README

This is a refactoring of league/oauth2-server mostly to restructure it into something that is easier to understand and easier integrate with.

This library does not assume any framework and is designed to generate data that you hand back to the client via your preferred method to control requests.

Please note that this library does take a dependency on Symfony's HTTP foundation library to consistently model request data and really, the more popular PHP frameworks tend to be based on it.

Usage

Your main entrypoint for the library is the AuthorizationService::doFlow method. It's very easy to build an instance of this class, whether manually or via your preferred dependency injection container. Instances of the configuration class have a fluent interface that should allow you to quickly and easily piece together your desired setup.

Once you have an instance of AuthorizationService, call it from inside your controller or equivalent to get an array representing the result of the applicable oauth grant type.

Meta

Documentation is a WIP, please contact me with any requests for expanded details.

License

Oauth2 Server is free for anyone to use and modify. I accept no responsibility for what happens as a result of using this library and make no guarantees as to it's production readiness or availability.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 525
  • 开发语言: PHP

其他信息

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