Skip to main content
Module

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

A node.js library for performing FIDO 2.0 / WebAuthn server functionality
Go to Latest
method Fido2Lib.prototype.assertionOptions
import { Fido2Lib } from "https://deno.land/x/fido2@3.3.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.