SshSession.authenticateKeyboardInteractive

SshAuthOperation authenticateKeyboardInteractive( SshKeyboardInteractiveProvider provider)

Starts (or resumes) keyboard-interactive authentication with an application-owned, UI-neutral challenge provider.

The provider is polled asynchronously for every server challenge, including zero-prompt informational rounds. Calling this again while an authentication operation is pending returns that operation.

Parameters

providerNon-blocking challenge/response provider; returning REFUSED aborts the attempt without retaining answers.

Returns

A stable operation handle driven by pump.