prompt

package
v6.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: MIT Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Methods = map[string]Func{}

Functions

func Available

func Available() []string

func KDialogMfaPrompt

func KDialogMfaPrompt(mfaSerial string) (string, error)

func OSAScriptMfaPrompt

func OSAScriptMfaPrompt(mfaSerial string) (string, error)

func PassMfaProvider

func PassMfaProvider(mfaSerial string) (string, error)

PassOTPProvider uses the pass otp extension to generate a OATH-TOTP token To set up pass otp, first create a pass otp credential with a name of your mfaSerial, or set PASS_OATH_CREDENTIAL_NAME.

func TerminalMfaPrompt

func TerminalMfaPrompt(mfaSerial string) (string, error)

func TerminalPrompt

func TerminalPrompt(message string) (string, error)

func TerminalSecretPrompt

func TerminalSecretPrompt(message string) (string, error)

func YkmanMfaProvider

func YkmanMfaProvider(mfaSerial string) (string, error)

YkmanProvider runs ykman to generate a OATH-TOTP token from the Yubikey device To set up ykman, first run `ykman oath accounts add`

func ZenityMfaPrompt

func ZenityMfaPrompt(mfaSerial string) (string, error)

Types

type Func added in v6.6.0

type Func func(string) (string, error)

func Method

func Method(s string) Func

Jump to

Keyboard shortcuts

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