pkg

package
v0.0.0-...-ef937ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2024 License: MIT Imports: 3 Imported by: 0

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
}

Directories

Path Synopsis
otp

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL