密码模式请求令牌
POST
http://10.8.0.126:53020/auth/oauth/token
接口描述
向授权服务请求令牌
请求参数
参数名
类型
描述
必填
client_id
String
服务器名(c1)
必填
client_secret
String
密码(secret)
必填
grant_type
String
授权码模式(password)
必填
username
String
用户名
必填
password
String
密码
必填
响应参数
参数名
类型
描述
必填
access_token
json
令牌token
必填
token_type
json
token类型
必填
refresh_token
json
刷新令牌
必填
expires_in
json
必填
scope
必填
jti
必填