Method CompleteWebAuthnRegistrationAsync(long, AuthenticatorAttestationRawResponse, string, string?, CancellationToken)
MFA-3: completes a WebAuthn registration ceremony. Verifies the attestation, runs the
AAGUID/UV gates inside , persists the credential, and
(if this is the user's first MFA method) issues fresh recovery codes returned to the
caller exactly once.
Caller must hold a transaction with a row-lock on the user's MFA props row when
calling this method \u2014 the processor wraps it in BeginTransactionAsync +
LockForUpdateAsync just like .
public Task<(bool Success, string[]? RecoveryCodes, string? CredentialKey, string? ErrorCode)> CompleteWebAuthnRegistrationAsync(long userId, AuthenticatorAttestationRawResponse attestationResponse, string setupToken, string? credentialDisplayName, CancellationToken ct = default)