Skip to content

TypeScript API / @laikacms/server/oauth2 / TOTPSetupData

Interface: TOTPSetupData ​

Generate TOTP setup data for a user

Properties ​

qrCode ​

ts
qrCode: string;

QR code data URL (SVG)


secret ​

ts
secret: string;

Base32-encoded secret


uri ​

ts
uri: string;

otpauth:// URI for QR code

Released under the MIT License.