Skip to main content
Module

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

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

Generates the options to send to the client for the specified extension

Parameters

extName

The name of the extension to generate options for. Must be a valid extension that has been registered through Fido2Lib#addExtension

type

The type of options that are being generated. Valid options are "attestation" or "assertion".

options