Oauth2/get token info
(→返回数据) |
(→oauth2/get_token_info) |
||
第1行: | 第1行: | ||
==oauth2/get_token_info== | ==oauth2/get_token_info== | ||
− | + | 查询用户access_token的授权相关信息,包括授权时间,过期时间和scope权限。 | |
==URL== | ==URL== |
2012年11月7日 (三) 14:30的版本
oauth2/get_token_info
查询用户access_token的授权相关信息,包括授权时间,过期时间和scope权限。
URL
https://api.weibo.com/oauth2/get_token_info
HTTP请求方式
POST
请求参数
access_token:用户授权时生成的access_token。
返回数据
{ "uid": 1073880650, "appkey": 1352222456, "scope": null, "create_at": 1352267591, "expires_in": 157679471 }
返回值字段 | 字段类型 | 字段说明 |
---|---|---|
uid | string | 授权用户的uid。 |
appkey | string | access_token所属的应用appkey。 |
scope | string | 用于授权的scope权限。 |
create_at | string | access_token的创建时间。 |
expires_in | string | access_token的剩余时间,单位是秒数。 |