prompt

package
v5.5.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

func ZenityMfaPrompt

func ZenityMfaPrompt(mfaSerial string) (string, error)

Types

type PromptFunc

type PromptFunc func(string) (string, error)

func Method

func Method(s string) PromptFunc

Jump to

Keyboard shortcuts

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