jncinet / qihucms-passport-oauth
qihucms passport oauth api.
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/jncinet/qihucms-passport-oauth
This package is auto-updated.
Last update: 2025-09-21 17:19:39 UTC
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
]`