TsgcWSAPIServer_WebAuthn › Events › OnWebAuthnHTTPResponse
Fires after the server has built the HTTP response for a WebAuthn endpoint but before it is sent; useful to audit or decorate the outgoing payload and headers.
public event TsgcWebAuthnOnHTTPResponseHandler OnWebAuthnHTTPResponse;
// delegate void TsgcWebAuthnOnHTTPResponseHandler(TObject Sender, TsgcWebAuthnHTTPRequestMethod aMethod, TsgcHTTPRequest aRequest, TsgcHTTPResponse aResponse)
—
Companion to OnWebAuthnHTTPRequest. Fires just before the response leaves the server with the final aResponse (status code, headers and body) paired with the original aRequest and the aMethod that identifies the endpoint. Typical uses are access logging, metrics, adding custom security headers or writing the response to an audit trail.