Xsolla-logo
  • 文档
  • 创建帐户

刷新JWT中的社交网络令牌Client-side

post/social/{provider_name}/refresh_token

通过JWT中的社交网络刷新令牌刷新社交网络令牌。

SecurityBearer
Request
path Parameters
provider_name
required
string

Name of the social network connected to Login in Publisher Account. Can be: amazon, apple, babka, baidu, battlenet, discord, epicgames, facebook, github, google,kakao, linkedin, mailru, microsoft, msn, naver, ok, paypal, qq, reddit, steam, twitch, twitter, vimeo,vk, wechat, weibo, xbox, yahoo, yandex, youtube.

If you store user data in PlayFab, only twitch is available.

query Parameters
projectId
required
string <uuid>

发布商帐户中的登录管理器项目ID。

Responses
200

确定

400

错误的请求

401

错误的请求

404

未找到

422

无法处理的实体

Request samples
curl --request POST \
  --url 'https://login.xsolla.com/api/social/{provider_name}/refresh_token?projectId=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer BEARER_TOKEN'
Response samples
application/json
{
  • "token": "some jwt"
}