TsgcWSAPIServer_WebAuthn › 메서드 › ValidateAuthenticationOptions
authenticator data, client data 및 서명을 파싱하고 저장된 자격 증명에 대해 사용자를 인증합니다.
procedure ValidateAuthenticationOptions(const aPayload: string);
| Name | Type | 설명 |
|---|---|---|
aPayload | const string | 자격 증명 id, authenticatorData, clientDataJSON 및 서명을 포함하는, 클라이언트의 navigator.credentials.get() 호출에 의해 반환된 JSON 페이로드. |
전체 WebAuthn 사양 검증을 수행합니다: challenge, origin 및 Relying Party id 확인, user-presence/user-verification 플래그, sign-counter 단조성 및 저장된 자격 증명의 공개 키를 사용한 서명 검증. 성공 시 OnWebAuthnAuthenticationSuccessful을, 실패 시 OnWebAuthnAuthenticationError를 발생시킵니다. 내장 HTTP 엔드포인트 외부에서 인증을 구동할 때만 이 메서드를 수동으로 호출하십시오.
sgcWSAPIServer_WebAuthn1.ValidateAuthenticationOptions(vClientJSON);