Skip to content

UserVerificationProof

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  4017190063["v2_protocol.UserVerificationProof"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 4017190063
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

A signature over the exact decoded challenge. The verifier validates and consumes it.

Source code in src/codexed/models/v2_protocol.py
class UserVerificationProof(CodexBaseModel):
    """A signature over the exact decoded challenge. The verifier validates and consumes it."""

    model_config = ConfigDict(
        extra="forbid",
    )
    credential_id: str
    signature: str
    """
    Unpadded base64url DER ECDSA signature using P-256 and SHA-256.
    """

signature instance-attribute

signature: str

Unpadded base64url DER ECDSA signature using P-256 and SHA-256.

:fa-brands-github: Show source on GitHub