Oauth2/get token info

跳转到: 导航, 搜索
(请求参数)
(返回数据)
第30行: 第30行:
 
!width="15%" style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc"|字段类型
 
!width="15%" style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc"|字段类型
 
!width="60%" style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc"|字段说明
 
!width="60%" style="text-align:left;padding-left:5px;font-weight:bolder;border:1px solid #cccccc"|字段说明
{{rdes_args|uid|string|授权用户的udi。}}
+
{{rdes_args|uid|string|授权用户的uid。}}
 
{{rdes_args|appkey|string|access_token所属的应用appkey。}}
 
{{rdes_args|appkey|string|access_token所属的应用appkey。}}
 
{{rdes_args|scope|string|用于授权的scope权限。}}
 
{{rdes_args|scope|string|用于授权的scope权限。}}

2012年11月7日 (三) 14:24的版本

oauth2/get_token_info

查询用户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的剩余时间。