Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

A node.js library for performing FIDO 2.0 / WebAuthn server functionality
Latest
method Fido2Lib.prototype.attestationResult
import { Fido2Lib } from "https://deno.land/x/fido2@3.5.3/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 id returned by the client