TsgcWSAPIServer_WebAuthn › Olaylar › OnWebAuthnAuthenticationOptionsResponse
Sunucu /authenticate/begin için PublicKeyCredentialRequestOptions yanıtını oluşturduktan sonra tetiklenir; uygulamanın oluşturulan challenge'ı incelemesine veya kalıcı hale getirmesine olanak tanır.
property OnWebAuthnAuthenticationOptionsResponse: TsgcWebAuthnOnAuthenticationOptionsResponse;
// TsgcWebAuthnOnAuthenticationOptionsResponse = procedure(Sender: TObject; const aRequest: TsgcWebAuthn_AuthenticationOptions_Request; const aResponse: TsgcWebAuthn_AuthenticationOptions_Response) of object
—
OnWebAuthnAuthenticationOptionsRequest'in tamamlayıcısı. Sunucu tam PublicKeyCredentialRequestOptions yükünü (challenge, RP id, user verification, transport'larla allowCredentials, timeout) oluşturduktan sonra tetiklenir. Kümelenmiş dağıtımlarda challenge'ı paylaşılan bir depoya kalıcı hale getirmek, yayılan seçenekleri denetlemek veya yanıt istemciye serileştirilmeden önce metrikleri sunmak için kullanın.
procedure TForm1.sgcWSAPIServer_WebAuthn1WebAuthnAuthenticationOptionsResponse(
Sender: TObject; const aRequest: TsgcWebAuthn_AuthenticationOptions_Request;
const aResponse: TsgcWebAuthn_AuthenticationOptions_Response);
begin
SaveChallenge(aRequest.User.Name, aResponse.Challenge);
end;