TsgcWSAPIServer_WebAuthn이벤트 › OnWebAuthnRegistrationOptionsResponse

OnWebAuthnRegistrationOptionsResponse 이벤트

서버가 /register/begin에 대한 PublicKeyCredentialCreationOptions 응답을 빌드한 후 발생합니다. 애플리케이션이 생성된 챌린지를 검사하거나 유지할 수 있게 합니다.

구문

property OnWebAuthnRegistrationOptionsResponse: TsgcWebAuthnOnRegistrationOptionsResponse;
// TsgcWebAuthnOnRegistrationOptionsResponse = procedure(Sender: TObject; const aRequest: TsgcWebAuthn_RegistrationOptions_Request; const aResponse: TsgcWebAuthn_RegistrationOptions_Response) of object

기본값

설명

OnWebAuthnRegistrationOptionsRequest의 동반 이벤트입니다. 서버가 전체 PublicKeyCredentialCreationOptions 페이로드(challenge, RP, user id, excludeCredentials, pubKeyCredParams, attestation, authenticator selection)를 구축한 후 발생합니다. 클러스터 배포에서 challenge를 공유 저장소에 영속화하거나, 방출된 옵션을 감사하거나, 클라이언트로 직렬화되기 전에 애플리케이션별 telemetry로 응답을 보강하는 데 사용하십시오.

예제

procedure TForm1.sgcWSAPIServer_WebAuthn1WebAuthnRegistrationOptionsResponse(
  Sender: TObject; const aRequest: TsgcWebAuthn_RegistrationOptions_Request;
  const aResponse: TsgcWebAuthn_RegistrationOptions_Response);
begin
  SaveChallenge(aRequest.User.Name, aResponse.Challenge);
end;

이벤트로 돌아가기