Package com.sshtools.client
Interface KeyboardInteractiveCallback
- All Known Implementing Classes:
AbstractKeyboardInteractiveCallback
,PasswordOverKeyboardInteractiveCallback
public interface KeyboardInteractiveCallback
Callback interface for keyboard-interactive authentication. Will be called when the server sends
authentication prompts.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(com.sshtools.common.ssh.SshConnection connection) void
showPrompts
(String name, String instruction, KeyboardInteractivePrompt[] prompts, KeyboardInteractivePromptCompletor completor)
-
Method Details
-
init
void init(com.sshtools.common.ssh.SshConnection connection) -
showPrompts
void showPrompts(String name, String instruction, KeyboardInteractivePrompt[] prompts, KeyboardInteractivePromptCompletor completor)
-