prompt

package
v7.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 7 Imported by: 0

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 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

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