定制 infuse/oauth2 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

infuse/oauth2

Composer 安装命令:

composer require infuse/oauth2

包简介

OAuth2 module for Infuse Framework

README 文档

README

Build Status Coverage Status Latest Stable Version Total Downloads HHVM Status

OAuth2 module for Infuse Framework

Grant Types

Currently only these OAuth2 grant types are supported:

  • Password (User Credentials)

Response Type

The response type generated by the POST /token route is a JWT encoded access token.

Installation

  1. Install the package with composer:
composer require infuse/oauth2
  1. Generate the private key with: openssl genrsa -out jwt_privkey.pem 2048

  2. Generate the public key with: openssl rsa -in jwt_privkey.pem -pubout -out jwt_pubkey.pem

The public and private key should each be stored in the base directory of your app.

Acknowledgements

This project uses the awesome oauth2-server-php library by Brent Shaffer.

统计信息

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

GitHub 信息

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

其他信息

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