Xsolla-logo

Atualizar tokens sociais no JWTClient-side

post/social/{provider_name}/refresh_token

Atualiza o token social pelo token de atualização social do 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 do projeto Login da Conta de Distribuidor.

Responses
200

OK

400

Pedido incorreto

401

Pedido incorreto

404

Não encontrado

422

Entidade não processável

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