Download the PHP package easyswoole/o-auth without Composer
On this page you can find all versions of the php package easyswoole/o-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download easyswoole/o-auth
More information about easyswoole/o-auth
Files in easyswoole/o-auth
Download easyswoole/o-auth
More information about easyswoole/o-auth
Files in easyswoole/o-auth
Vendor easyswoole
Package o-auth
Short Description easyswoole component
License Apache-2.0
Homepage https://www.easyswoole.com/
Package o-auth
Short Description easyswoole component
License Apache-2.0
Homepage https://www.easyswoole.com/
Please rate this library. Is it a good library?
Informations about the package o-auth
o-auth
介绍
基于easyswoole/http-client
对第三方登录授权的SDK。
安装
代码
公共的方法:
getAuthUrl()
获取授权地址getAccessToken($storeState = null, $state = null, $code = null)
获取AccessToken(只返回access_token)getAccessTokenResult()
执行getAccessToken
方法后,此方法获取原结果getUserInfo(string $accessToken)
获取用户信息validateAccessToken(string $accessToken)
验证token是否有效refreshToken(string $refreshToken = null)
刷新token 返回bool
getRefreshTokenResult()
执行refreshToken
方法后,此方法获取原结果
示例代码
微信
微博
支付宝
Github
Gitee
All versions of o-auth with dependencies
PHP Build Version
Package Version
The package easyswoole/o-auth contains the following files
Loading the files please wait ....