Finishes a WebAuthn link: verifies the assertion with the stored key,
spends it, and registers the key on the device; and records the
ceremony (#1108).
Parameters
spec: any
username, sessionId, challenge, credential (what
/authn/webauthn.js posted in get mode), origin and rpId
Finishes a WebAuthn link: verifies the assertion with the stored key, spends it, and registers the key on the device; and records the ceremony (#1108).