Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AdminHmac = util.GenerateHmac(64)
View Source
var UserHmac = util.GenerateHmac(64)
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
Base
PasswordHash string `json:"-"`
TwoFactorSecret string `json:"-"`
TwoFactorRecovery string `json:"-"`
Verified bool `json:"-"`
}
func (*Auth) CheckPassword ¶
func (*Auth) GenerateNewTwoFactorSecret ¶
func (a *Auth) GenerateNewTwoFactorSecret()
func (*Auth) SetPassword ¶
type Base ¶
Click to show internal directories.
Click to hide internal directories.