service

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateOneTimePassword

func GenerateOneTimePassword(otp *types.OTPCredentials) (string, error)

GenerateOneTimePassword ...

function that takes in a struct of credentials with a unique identifier for each user and creates a valid OTP for the user to use in the application. token validity can be passed in the function or default value can be used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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