Unity · Schema

AuthResponse

Game DevelopmentReal-Time 3DMultiplayerGame ServicesCloud Gaming

Properties

Name Type Description
idToken string JWT access token
sessionToken string
expiresIn integer Token expiry in seconds
userId string
isNew boolean True if a new account was created
View JSON Schema on GitHub

JSON Schema

unity-authresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AuthResponse",
  "title": "AuthResponse",
  "type": "object",
  "properties": {
    "idToken": {
      "type": "string",
      "description": "JWT access token"
    },
    "sessionToken": {
      "type": "string"
    },
    "expiresIn": {
      "type": "integer",
      "description": "Token expiry in seconds"
    },
    "userId": {
      "type": "string"
    },
    "isNew": {
      "type": "boolean",
      "description": "True if a new account was created"
    }
  }
}