Decides whether a passkey may answer a sign-in step in this realm: as a
first factor (primary, passwordless) or as a second factor (mfa).
Asks this module's own settings, then the realm's authentication policy.
webauthn.enabled is not one of them: it stops enrolment, never a key
already held (enrolmentAllowed()).
Parameters
use: any
primary or mfa
Returns any
{ ok: true }, or { ok: false, why } carrying an error code
Decides whether a passkey may answer a sign-in step in this realm: as a first factor (
primary, passwordless) or as a second factor (mfa).Asks this module's own settings, then the realm's authentication policy.
webauthn.enabledis not one of them: it stops enrolment, never a key already held (enrolmentAllowed()).