刷新访问令牌

https://api.sciener.com/oauth2/token

通过获取访问令牌接口返回的刷新令牌(默认有效期为10年)获取新的访问令牌。

1 HTTP请求方法及示例

POST, ContentType:application/x-www-form-urlencoded

2 参数说明

名称是否必需参数值描述
clientIdY 创建应用分配的clientId
clientSecretY 创建应用分配的clientSecret
grant_typeYrefresh_token授权类型为refresh_token
refresh_tokenY 刷新令牌

3 返回参数及示例

参数类型描述
access_tokenString访问令牌
expires_inInt访问令牌过期时间,单位秒
refresh_tokenString刷新令牌