SuperTokens · Schema

ConsumePasswordlessCodeRequest

AuthenticationOpen SourceSession ManagementSocial LoginPasswordlessIdentityAuthorizationMulti-TenancyNode.jsSelf-Hosted

Properties

Name Type Description
preAuthSessionId string
userInputCode string OTP entered by user
deviceId string
tenantId string
View JSON Schema on GitHub

JSON Schema

supertokens-consumepasswordlesscoderequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ConsumePasswordlessCodeRequest",
  "title": "ConsumePasswordlessCodeRequest",
  "type": "object",
  "required": [
    "preAuthSessionId"
  ],
  "properties": {
    "preAuthSessionId": {
      "type": "string"
    },
    "userInputCode": {
      "type": "string",
      "description": "OTP entered by user"
    },
    "deviceId": {
      "type": "string"
    },
    "tenantId": {
      "type": "string"
    }
  }
}