Method CompleteAssertionAsync(AuthenticatorAssertionRawResponse, AssertionOptions, IReadOnlyDictionary<string, WebAuthnCredential>, long, CancellationToken)
Verifies an assertion response. Returns the matched credential (mutated in-place
with new ,
and ) on success. Returns null on signature
failure. Throws with codes:
uv_downgrade — credential was registered with UV but assertion has UV=0sign_counter_rollback — new SignCount < stored SignCount (CTAP2 §6.1.4)credential_not_found — assertion's credentialId not in user's set
Task<WebAuthnCredential?> CompleteAssertionAsync(AuthenticatorAssertionRawResponse assertionResponse, AssertionOptions originalOptions, IReadOnlyDictionary<string, WebAuthnCredential> credentials, long userId, CancellationToken ct = default)