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

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

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

Parses and validates an assertion response from the client

Parameters

res

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

expected

The base64url encoded id returned by the client