Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

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

Creates an assertion challenge and any other parameters for the navigator.credentials.get() call. The challenge property is an ArrayBuffer and will need to be encoded to be transmitted to the client.

Parameters

opts

An object containing various options for the option creation