Xsolla-logo
  • 文档
  • 创建帐户

[JWT] Refresh social tokens in 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: babka, epicgames, generic.

query Parameters
projectId
required
string <uuid>

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

Request Body schema: application/json
is_cross_provider
boolean

Wheather the ability to use a cross-platform account set up for the provider.

Responses
200

确定

400

错误的请求

401

错误的请求

404

未找到

422

无法处理的实体

Request samples
application/json
{
  • "is_cross_provider": true
}
Response samples
application/json
{
  • "token": "some jwt"
}