Xsolla-logo
  • 文档
  • 创建帐户

Validate user JWTClient-side

post/token/validate

Validates a user JWT based on the following criteria:

  • the lifetime of the token
  • existence of the Login project
  • presence of an authentic signature from the login.xsolla.com server
  • user existence
  • Validates the user JWT.
Request
Request Body schema: application/json
token
required
string

用户JWT。

Responses
204

确定

400

错误的请求

404

未找到

422

无法处理的实体

429

请求过多

Request samples
application/json
{
  • "token": "jwtToken"
}
Response samples
{
  • "error": {
    }
}