标签:
请求参数 |
phone |
string |
手机号 |
||||||||
password |
string |
密码 |
|||||||||
grant_type |
string |
固定为"password" |
|||||||||
scope |
string |
可选项 |
|||||||||
client_id |
string |
客户端 id |
|||||||||
client_info |
string |
客户端设备信息,统计使用 |
|||||||||
返回参数 |
access_token |
string |
登录成功后的认证令牌 |
||||||||
refresh_token |
string |
刷新令牌 |
|||||||||
expire-in |
long |
访问有效期(单位:秒) |
|||||||||
token-type |
string |
access_token:
e66664d8025b121a5b6f4655aab7ce67627cbed9
refresh_token
f24cb495956ab04b1e9305ad27080127fc2ee0d0
这两个值是serve返回的,每次重新登录都会变。
标签:
原文地址:http://www.cnblogs.com/rankilau/p/4250933.html