tfa

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package tfa handles two-factor authentication codes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTOTP

func GenerateTOTP(key string, t time.Time, digits int) string

GenerateTOTP returns a Time-based One-Time Password code.

func NewCmd

func NewCmd(db *bolt.DB) *cobra.Command

NewCmd returns a new command.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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