TsgcWSAPIServer_WebAuthnEvents › OnWebAuthnAuthenticationOptionsResponse

OnWebAuthnAuthenticationOptionsResponse Event

Fires after the server has built the PublicKeyCredentialRequestOptions response for /authenticate/begin; lets the application inspect or persist the generated challenge.

Syntax

public event TsgcWebAuthnOnAuthenticationOptionsResponseHandler OnWebAuthnAuthenticationOptionsResponse;
// delegate void TsgcWebAuthnOnAuthenticationOptionsResponseHandler(TObject Sender, TsgcWebAuthn_AuthenticationOptions_Request aRequest, TsgcWebAuthn_AuthenticationOptions_Response aResponse)

Default Value

Remarks

Companion to OnWebAuthnAuthenticationOptionsRequest. Fires after the server has built the full PublicKeyCredentialRequestOptions payload (challenge, RP id, user verification, allowCredentials with transports, timeout). Use it to persist the challenge to a shared store in clustered deployments, to audit the emitted options or to expose metrics before the response is serialized to the client.

Example

Back to Events