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

x/otpauth/dist/otpauth.node.cjs>HOTP#toString

One Time Password (HOTP/TOTP) library for Node.js, Deno, Bun and browsers.
Go to Latest
method HOTP.prototype.toString
import { HOTP } from "https://deno.land/x/otpauth@v9.3.3/dist/otpauth.node.cjs";

Returns a Google Authenticator key URI.

Returns

string

URI.