the person
{ username, sub }: the administrator finishing it
the pending enrolment's id
what the browser posted
Optionalopts: any
origin and rpId, what the browser was talking to
a promise of { ok: true, username, credentialId, held, lane, enrolledBy }, or a refusal
Verifies the registration an administrator's browser produced for a person (#945) exactly as the person's own is verified, and only then writes the key, marked
enrolledBy. The pending record is spent first, whatever the outcome.