Skip to main content
Module

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

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

Specifies the options to be used for the extension

Parameters

extName

The name of the extension to set the options for (e.g. - "appid". Must be a valid extension that has been registered through Fido2Lib#addExtension

options

The parameter that will be passed to the option generator function (e.g. - "https://webauthn.org")