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

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

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

Gets a challenge and any other parameters for the navigator.credentials.create() 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