SuperTokens · Schema

CreatePasswordlessCodeResponse

AuthenticationOpen SourceSession ManagementSocial LoginPasswordlessIdentityAuthorizationMulti-TenancyNode.jsSelf-Hosted

Properties

Name Type Description
status string
preAuthSessionId string
codeId string
deviceId string
userInputCode string The OTP code to send to the user
linkCode string The magic link code
timeCreated integer
codeLifetime integer
View JSON Schema on GitHub

JSON Schema

supertokens-createpasswordlesscoderesponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreatePasswordlessCodeResponse",
  "title": "CreatePasswordlessCodeResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "string"
    },
    "preAuthSessionId": {
      "type": "string"
    },
    "codeId": {
      "type": "string"
    },
    "deviceId": {
      "type": "string"
    },
    "userInputCode": {
      "type": "string",
      "description": "The OTP code to send to the user"
    },
    "linkCode": {
      "type": "string",
      "description": "The magic link code"
    },
    "timeCreated": {
      "type": "integer"
    },
    "codeLifetime": {
      "type": "integer"
    }
  }
}