Download the PHP package suntianxiang/cn-oauth without Composer
On this page you can find all versions of the php package suntianxiang/cn-oauth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download suntianxiang/cn-oauth
More information about suntianxiang/cn-oauth
Files in suntianxiang/cn-oauth
Download suntianxiang/cn-oauth
More information about suntianxiang/cn-oauth
Files in suntianxiang/cn-oauth
Vendor suntianxiang
Package cn-oauth
Short Description a library for wechat,alipay,weibo OAuth2 Client
License MIT
Package cn-oauth
Short Description a library for wechat,alipay,weibo OAuth2 Client
License MIT
Please rate this library. Is it a good library?
Informations about the package cn-oauth
CnOAuth
一个简单、开箱即用的OAuth2客户端
supported list 支持列表
- alipay 支付宝
- wechat 微信 公众号 网页登录
- weibo 微博
-
eleme 饿了么商户
requires
- php >= 7.0
- openssl (if using alipay)
- guzzlehttp ^6.3
install 安装
using composer
usage 使用
- wechat 微信
redirect.php
callback.php
- alipay 支付宝
redirect.php
callback.php
Define Provider 定义自己的提供者
1. create a provider 继承AbstractProvider
See CnOAuth\Provider\AbstractProvider.php
CnOAuth\Provider\ResourceOwnerInterface.php
2. create a grant type 继承AbstractGrant
See CnOAuth\Grant\AbstractGrant
3. implements ResourceOwnerInterface
All versions of cn-oauth with dependencies
PHP Build Version
Package Version
The package suntianxiang/cn-oauth contains the following files
Loading the files please wait ....