Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Users = make(map[string]string)
Functions ¶
func GenerateTOTPSecret ¶
GenerateTOTPSecret generates a new TOTP secret key.
func GetProvisioningURI ¶
GetProvisioningURI generates a provisioning URI for the QR code.
func ValidateTOTPToken ¶
ValidateTOTPToken validates a TOTP token against the provided secret.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.