otp

package
v0.0.0-...-5d22bd2 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOTP

func CreateOTP() *dgoogauth.OTPConfig

func CreateOTPSecret

func CreateOTPSecret(readRandom func(b []byte) (n int, err error)) string

func GetOTP

func GetOTP(secret string) *dgoogauth.OTPConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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