Builds the registration options the browser receives.
A kind adds hints, prefers a discoverable credential for a passkey and
asks a security key for cross-platform, the last only while the
attachment setting is any. A policy that demands a trusted statement
asks for direct attestation.
Parameters
rpId: any
the relying party id
Optionalkind: any
passkey or security-key, as the person chose, if any
Optionallane: string
classical or pqc (#643), the lane the enrolment was
begun in; it decides the algorithms and nothing else
OptionalclassicalOnly: boolean
the classical retry (#944): the algorithms less
ML-DSA, where the realm allows it
Builds the registration options the browser receives.
A
kindadds hints, prefers a discoverable credential for a passkey and asks a security key forcross-platform, the last only while the attachment setting isany. A policy that demands a trusted statement asks fordirectattestation.