Skip to main content

PasskeyAuthenticatorProtocol

PasskeyAuthenticatorProtocol​

protocol PasskeyAuthenticatorProtocol : AnyObject, Sendable

A passkey authenticator.

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

See https://www.w3.org/TR/webauthn-2/#dictdef-collectedclientdata for the required json-schema for the client-data-json rule. In addition, IOTA currently requires that the CollectedClientData.type field is required to be webauthn.get.

Note: Due to historical reasons, signatures are serialized slightly different from the majority of the types in IOTA. In particular if a signature is ever embedded in another structure it generally is serialized as bytes meaning it has a length prefix that defines the length of the completely serialized signature.