Skip to main content
Module

x/fido2/lib/main.js>Fido2Lib#attestationResult

A node.js library for performing FIDO 2.0 / WebAuthn server functionality
Go to Latest
method Fido2Lib.prototype.attestationResult
import { Fido2Lib } from "https://deno.land/x/fido2@3.3.4/lib/main.js";

Parses and validates an attestation response from the client

Parameters

res

The assertion result that was generated by the client. See AuthenticatorAttestationResponse in the WebAuthn spec.

expected

The base64url encoded clientDataJSON returned by the client