密码模式获取用户令牌
正式环境
https://accounts.zwsoft.cn
正式环境
https://accounts.zwsoft.cn
POST
/connect/token
最后修改时间:2024-04-11 01:47:49
刷新令牌有效时长为30天,请注意进行令牌持久化和令牌刷新
请求参数
Body 参数application/x-www-form-urlencoded
client_id
string
客户端ID
示例值:
testAutoClient
client_secret
string
客户端密码
示例值:
testAuto.2022
scope
string
作用域
示例值:
openid profile email phone offline_access ZMS.UserDetails.Read
grant_type
必需
示例值:
password
username
string
必需
示例值:
testUserName
password
string
用户密码
示例值:
Abc.123456
示例代码
返回响应
修改于 2024-04-11 01:47:49