Documentation
¶
Index ¶
- type Prompter
- func (_m *Prompter) Choose(_a0 string, _a1 []string) int
- func (_m *Prompter) ChooseWithDefault(_a0 string, _a1 string, _a2 []string) (string, error)
- func (_m *Prompter) Password(_a0 string) string
- func (_m *Prompter) RequestSecurityCode(_a0 string) string
- func (_m *Prompter) String(_a0 string, _a1 string) string
- func (_m *Prompter) StringRequired(_a0 string) string
- type U2FDevice
- func (_m *U2FDevice) Authenticate(_a0 *u2fhost.AuthenticateRequest) (*u2fhost.AuthenticateResponse, error)
- func (_m *U2FDevice) Close()
- func (_m *U2FDevice) Open() error
- func (_m *U2FDevice) Register(_a0 *u2fhost.RegisterRequest) (*u2fhost.RegisterResponse, error)
- func (_m *U2FDevice) Version() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prompter ¶
Prompter is an autogenerated mock type for the Prompter type
func (*Prompter) ChooseWithDefault ¶
ChooseWithDefault provides a mock function with given fields: _a0, _a1, _a2
func (*Prompter) RequestSecurityCode ¶
RequestSecurityCode provides a mock function with given fields: _a0
func (*Prompter) StringRequired ¶
StringRequired provides a mock function with given fields: _a0
type U2FDevice ¶
U2FDevice is an autogenerated mock type for the U2FDevice type
func (*U2FDevice) Authenticate ¶
func (_m *U2FDevice) Authenticate(_a0 *u2fhost.AuthenticateRequest) (*u2fhost.AuthenticateResponse, error)
Authenticate provides a mock function with given fields: _a0
func (*U2FDevice) Close ¶
func (_m *U2FDevice) Close()
Close provides a mock function with given fields:
func (*U2FDevice) Register ¶
func (_m *U2FDevice) Register(_a0 *u2fhost.RegisterRequest) (*u2fhost.RegisterResponse, error)
Register provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.