TsgcWSAPIServer_WebAuthnEvents › OnWebAuthnRegistrationOptionsResponse

OnWebAuthnRegistrationOptionsResponse Event

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

Syntax

public event TsgcWebAuthnOnRegistrationOptionsResponseHandler OnWebAuthnRegistrationOptionsResponse;
// delegate void TsgcWebAuthnOnRegistrationOptionsResponseHandler(TObject Sender, TsgcWebAuthn_RegistrationOptions_Request aRequest, TsgcWebAuthn_RegistrationOptions_Response aResponse)

Default Value

Remarks

Companion to OnWebAuthnRegistrationOptionsRequest. Fires after the server has built the full PublicKeyCredentialCreationOptions payload (challenge, RP, user id, excludeCredentials, pubKeyCredParams, attestation, authenticator selection). Use it to persist the challenge to a shared store in clustered deployments, to audit the emitted options or to enrich the response with application-specific telemetry before it is serialized to the client.

Example

Back to Events