jncinet/qihucms-passport-oauth
Composer 安装命令:
composer require jncinet/qihucms-passport-oauth
包简介
qihucms passport oauth api.
关键字:
README 文档
README
使用Passport OAuth
登录接口: route('api.auth.login');
POST ==>account | password
登出接口: route('api.auth.logout');
POST ==>
刷新TOKEN接口 route('api.auth.refresh_token')
POST ==> refresh_token
登录接口和刷新TOKEN接口返回值 `[
'token' => $token['access_token'],
'expires_in' => $token['expires_in'],
'refresh_token' => $token['refresh_token'],
'refresh_token_expires_in' => 2592000
]`
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-21