Module pallet_passkey::types
source · Expand description
defines all new types for this pallet
Structs
- Inner Passkey call
- Passkey Payload
- PassKey Public Key type in compressed encoded point format the first byte is the tag indicating compressed format
- PassKey Signature type
- A verifiable Pass key contains all the required information to verify a passkey signature
Enums
- Passkey verification error types
Constants
- This is the placeholder value that should be replaced by calculated challenge for evaluation of a Passkey signature.
Type Aliases
- Passkey AuthenticatorData type. The length is 37 bytes or more https://w3c.github.io/webauthn/#authenticator-data
- Passkey ClientDataJson type Note: The
challenge
field inside this json MUST be replaced withCHALLENGE_PLACEHOLDER
before submission to the chain https://w3c.github.io/webauthn/#dictdef-collectedclientdata