SuperTokens · Schema

CreateSessionResponse

AuthenticationOpen SourceSession ManagementSocial LoginPasswordlessIdentityAuthorizationMulti-TenancyNode.jsSelf-Hosted

Properties

Name Type Description
status string
session object
accessToken object
refreshToken object
antiCsrfToken string
View JSON Schema on GitHub

JSON Schema

supertokens-createsessionresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateSessionResponse",
  "title": "CreateSessionResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "example": "OK"
    },
    "session": {
      "$ref": "#/components/schemas/Session"
    },
    "accessToken": {
      "$ref": "#/components/schemas/Token"
    },
    "refreshToken": {
      "$ref": "#/components/schemas/Token"
    },
    "antiCsrfToken": {
      "type": "string"
    }
  }
}