Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

AuthenticateInitResponse

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "AuthenticateInitResponse",
  "type": "object",
  "properties": {
    "authentication_data": {
      "$ref": "#/$defs/AuthenticationData"
    },
    "domain": {
      "type": "string"
    },
    "user_login_hash": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "integer",
        "format": "uint8",
        "maximum": 255,
        "minimum": 0
      }
    }
  },
  "required": [
    "domain",
    "authentication_data"
  ],
  "$defs": {
    "AuthenticateAllowCredential": {
      "type": "object",
      "properties": {
        "id": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0
          }
        },
        "transports": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "transports",
        "type"
      ]
    },
    "AuthenticationData": {
      "type": "object",
      "properties": {
        "allowed_credentials": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/AuthenticateAllowCredential"
          }
        },
        "challenge": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0
          }
        },
        "id": {
          "type": "integer",
          "format": "int64"
        },
        "user_verification": {
          "$ref": "#/$defs/UserVerificationRequirement"
        }
      },
      "required": [
        "id",
        "challenge",
        "user_verification"
      ]
    },
    "UserVerificationRequirement": {
      "type": "string",
      "enum": [
        "Required",
        "Preferred",
        "Discouraged"
      ]
    }
  }
}