SshSession.authenticatePassword

SshAuthOperation authenticatePassword(SshPasswordProvider provider)

Starts (or resumes) password authentication with an application-owned credential provider.

Calling this again while a previous authentication operation is still pending returns that pending operation.

Parameters

providerNon-blocking password source; returning REFUSED aborts the attempt with an SshError.AUTH-typed error.

Returns

A stable operation handle driven by pump.