Documentation
¶
Index ¶
- func CheckAuthentication(username string, password string) error
- func CheckTokenValidation(username string, token string) bool
- func Del2FAStatus(c *gin.Context)
- func DelTokenValidation(username string, token string) bool
- func Get2FAStatus(c *gin.Context)
- func GetUserSecret(username string) string
- func OTPVerify(c *gin.Context)
- func QRCode(c *gin.Context)
- func SetTokenValidation(username string, token string) bool
- func SetUserSecret(username string, secret string) (bool, string)
- func UBusCallAction(c *gin.Context)
- func ValidateAuth(tokenString string, ensureTokenExists bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAuthentication ¶
func CheckTokenValidation ¶
func Del2FAStatus ¶
func DelTokenValidation ¶
func Get2FAStatus ¶
func GetUserSecret ¶
func SetTokenValidation ¶
func UBusCallAction ¶
func ValidateAuth ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.