Documentation ¶
Index ¶
- func Oath(secret string) (string, error)
- func OathOtp(secret string, b32 bool, digits int, nowSec, step, window int64) (ret []string, err error)
- func Oaths(secret string, window int) (ret []string, err error)
- func Validate(secret, otp string, window int) (v bool, err error)
- func ValidateOtp(secret, otp string, b32 bool, digits int, nowSec, step, window int64) (bool, int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.