auth

package
v0.0.0-...-50f1b1e Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteAccountPassword

func DeleteAccountPassword(user string) error

func DeleteTwoFactorAuthSecret

func DeleteTwoFactorAuthSecret(accountName string) error

func GenerateTwoFactorAuthCode

func GenerateTwoFactorAuthCode(accountName string) (string, error)

func GetAccountPassword

func GetAccountPassword(user string) (string, error)

func GetAccountPasswordOrPrompt

func GetAccountPasswordOrPrompt(user string) (string, error)

func GetTwoFactorAuthSecret

func GetTwoFactorAuthSecret(accountName string) (string, error)

func HasTwoFactorAuthSecret

func HasTwoFactorAuthSecret(accountName string) bool

func SetAccountPassword

func SetAccountPassword(user, password string) error

func SetTwoFactorAuthSecret

func SetTwoFactorAuthSecret(accountName string, secret string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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