Class WebAuthnResponse

    • Field Detail

      • webAuthnId

        @FormParam("webAuthnId")
        public String webAuthnId
        Corresponds to the JSON id field
      • webAuthnRawId

        @FormParam("webAuthnRawId")
        public String webAuthnRawId
        Corresponds to the JSON rawId field
      • webAuthnResponseClientDataJSON

        @FormParam("webAuthnResponseClientDataJSON")
        public String webAuthnResponseClientDataJSON
        Corresponds to the JSON response.clientDataJSON field
      • webAuthnType

        @FormParam("webAuthnType")
        public String webAuthnType
        Corresponds to the JSON type field
    • Constructor Detail

      • WebAuthnResponse

        public WebAuthnResponse()
    • Method Detail

      • toJsonObject

        public io.vertx.core.json.JsonObject toJsonObject()
        Turns this form-based structure into its corresponding JSON structure
      • toJsonObject

        protected abstract void toJsonObject​(io.vertx.core.json.JsonObject response)
      • isSet

        public boolean isSet()
        Returns true if any value is set (really looks at the ID only)
        Returns:
        true if any value is set (really looks at the ID only)
      • isValid

        public boolean isValid()
        Returns true if the id, rawId and type are set, and type is set to "public-key"
        Returns:
        true if this can be passed to the login/register endpoints