TsgcWSAPIServer_WebAuthnOlaylar › OnWebAuthnAuthenticationOptionsResponse

OnWebAuthnAuthenticationOptionsResponse Olay

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.

Sözdizimi

property OnWebAuthnAuthenticationOptionsResponse: TsgcWebAuthnOnAuthenticationOptionsResponse;
// TsgcWebAuthnOnAuthenticationOptionsResponse = procedure(Sender: TObject; const aRequest: TsgcWebAuthn_AuthenticationOptions_Request; const aResponse: TsgcWebAuthn_AuthenticationOptions_Response) of object

Varsayılan Değer

Remarks

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.

Örnek

procedure TForm1.sgcWSAPIServer_WebAuthn1WebAuthnAuthenticationOptionsResponse(
  Sender: TObject; const aRequest: TsgcWebAuthn_AuthenticationOptions_Request;
  const aResponse: TsgcWebAuthn_AuthenticationOptions_Response);
begin
  SaveChallenge(aRequest.User.Name, aResponse.Challenge);
end;

Olaylara Dön