otplib API Documentation / @otplib/uri / generateHOTP
Function: generateHOTP()
generateHOTP(
options):string
Defined in: packages/uri/src/generate.ts:174
Generate a HOTP otpauth:// URI with simplified parameters
Parameters
options
URIOptions & object & object
HOTP URI generation options
Returns
string
The otpauth:// URI string
Throws
If a non-empty algorithm is not supported