Module types

Source
Expand description

defines all new types for this pallet

Structs§

PasskeyCall
Inner Passkey call
PasskeyCallV2
Inner Passkey call V2
PasskeyPayload
Passkey Payload
PasskeyPayloadV2
Passkey Payload V2
PasskeyPublicKey
PassKey Public Key type in compressed encoded point format the first byte is the tag indicating compressed format
PasskeySignature
PassKey Signature type
VerifiablePasskeySignature
A verifiable Pass key contains all the required information to verify a passkey signature

Enums§

PasskeyVerificationError
Passkey verification error types

Constants§

CHALLENGE_PLACEHOLDER
This is the placeholder value that should be replaced by calculated challenge for evaluation of a Passkey signature.

Type Aliases§

PasskeyAuthenticatorData
Passkey AuthenticatorData type. The length is 37 bytes or more https://w3c.github.io/webauthn/#authenticator-data
PasskeyClientDataJson
Passkey ClientDataJson type Note: The challenge field inside this json MUST be replaced with CHALLENGE_PLACEHOLDER before submission to the chain https://w3c.github.io/webauthn/#dictdef-collectedclientdata