Xsolla-logo

Actualiser les jetons de réseaux sociaux dans le JWTClient-side

post/social/{provider_name}/refresh_token

Actualise le jeton de réseau social à l'aide du jeton d'actualisation de réseau social du 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 de projet de connexion issu du Compte éditeur.

Responses
200

OK

400

Bad Request

401

Bad Request

404

Not Found

422

Unprocessable Entity

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"
}