Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Totp ¶
type Totp interface { ValidateCustom(passcode string, secret string, t time.Time, opts config.ValidateOpts) (bool, error) Validate(passcode string, secret string) bool GenerateCodeCustom(secret string, t time.Time, opts config.ValidateOpts) (passcode string, err error) GenerateCode(secret string, t time.Time) (string, error) Generate(opts config.GenerateOpts) (*string, *string, error) EncodeQuery(v url.Values) string }
Click to show internal directories.
Click to hide internal directories.