码迷,mamicode.com
首页 > 移动开发 > 详细

app登录,client和serve的常用字段。

时间:2015-01-26 19:07:27      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:

                       

请求参数

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返回的,每次重新登录都会变。

app登录,client和serve的常用字段。

标签:

原文地址:http://www.cnblogs.com/rankilau/p/4250933.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!