package
Version:
v0.0.0-...-0ddd045
Opens a new window with list of versions in this module.
Published: Jan 4, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package twofa provides utilities to generate and validate 2FA codes
ValidateTOTP validates a 6 digit TOTP code
GenerateTOTP generates a new TOTP
Image returns the TOTP as an image to add to 2FA Managers
Secret returns the TOTP secret
Source Files
¶
Click to show internal directories.
Click to hide internal directories.