package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Mar 17, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
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)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.