更新时间:2024-04-26 GMT+08:00
登录场景:accesstoken续期
用户登录获得的access_token有效期默认为2小时,refresh_token刷新令牌有效期默认为30天,在用户持续访问应用的情况下,服务端应提供access_token的续期功能。
续期功能内部调用时序图:
接口URL请参考联营能力开放接口的刷新Access Token,示例URL如下:
{domain_name}/api/v1/oauth2/token Content-Type:application/x-www-form-urlencoded&client_id=NzZeWuiJa91dPSRdZQChMazIh13AW...&client_secret=******...&refresh_token=******...&grant_type=refresh_token
父主题: 联营账号基于WEB登录