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

RegisterCompleteRequest

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RegisterCompleteRequest",
  "type": "object",
  "properties": {
    "credential": {
      "$ref": "#/$defs/AttestationPublicKeyCredential"
    },
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "login_hash": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "uint8",
        "maximum": 255,
        "minimum": 0
      }
    }
  },
  "required": [
    "id",
    "login_hash",
    "credential"
  ],
  "$defs": {
    "AttestationPublicKeyCredential": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "raw_id": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0
          }
        },
        "response": {
          "$ref": "#/$defs/AuthenticatorAttestationResponse"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "raw_id",
        "response",
        "type"
      ]
    },
    "AuthenticatorAttestationResponse": {
      "type": "object",
      "properties": {
        "attestation_object": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0
          }
        },
        "client_data_json": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0
          }
        },
        "transports": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "attestation_object",
        "client_data_json",
        "transports"
      ]
    }
  }
}