Documentation ¶
Index ¶
- type TOTP
- func (*TOTP) CompleteSignUp(userID uint64, mfaConf map[string]string) error
- func (t *TOTP) InitSignUp(userID uint64, username string) (map[string]interface{}, error)
- func (t *TOTP) NewChallenge(userID uint64) (map[string]interface{}, error)
- func (*TOTP) Registered(userID uint64) bool
- func (*TOTP) Remove(userID uint64) error
- func (t *TOTP) SubmitChallenge(userID uint64, challengeResponse map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TOTP ¶
type TOTP struct {
// contains filtered or unexported fields
}
func (*TOTP) CompleteSignUp ¶
func (*TOTP) InitSignUp ¶
func (*TOTP) NewChallenge ¶
func (*TOTP) Registered ¶
Click to show internal directories.
Click to hide internal directories.