Skip to content

otplib API Documentation / @otplib/uri / generateHOTP

Function: generateHOTP()

generateHOTP(options): string

Defined in: packages/uri/src/generate.ts:160

Generate a HOTP otpauth:// URI with simplified parameters

Parameters

options

URIOptions & object & object

HOTP URI generation options

Returns

string

The otpauth:// URI string

Released under the MIT License.