TsgcWSAPIServer_WebAuthn › 메서드 › ValidateRegistrationOptions
클라이언트 attestation 페이로드를 파싱하고 WebAuthn 사양에 따라 새 자격 증명 등록을 검증합니다.
procedure ValidateRegistrationOptions(const aPayload: string);
| Name | Type | 설명 |
|---|---|---|
aPayload | const string | attestationObject 및 clientDataJSON을 포함하는 클라이언트 navigator.credentials.create() 호출이 반환한 JSON 페이로드입니다. |
CBOR attestationObject를 디코딩하고, 활성화된 형식(packed, tpm, android-key, android-safetynet, fido-u2f, apple, none)에 따라 attestation 명령문을 검증하며, 자격 증명 id와 공개 키를 추출하여 자격 증명 저장소에 저장합니다. 적절하게 OnWebAuthnRegistrationValidateCertificate, OnWebAuthnRegistrationValidateCredentialId, OnWebAuthnRegistrationSuccessful 및 OnWebAuthnRegistrationError를 발생시킵니다. 내장 HTTP 엔드포인트 외부에서 등록을 구동할 때만 이 메서드를 수동으로 호출하십시오.
sgcWSAPIServer_WebAuthn1.ValidateRegistrationOptions(vClientJSON);