|
| void | allow_password (std::string user, SecureString password) |
| |
| void | allow_public_key (std::string user, Key public_key) |
| |
| void | allow_none (std::string user) |
| |
| void | set_max_attempts (int n) noexcept |
| |
| AuthResult | on_auth_none (Session &, std::string_view user) override |
| |
| AuthResult | on_auth_password (Session &, std::string_view user, const SecureString &) override |
| |
| AuthResult | on_auth_public_key (Session &, std::string_view user, const Key &, PublicKeyState) override |
| |
Public Member Functions inherited from sshpp::server::SessionHandler |
| virtual | ~SessionHandler ()=default |
| |
| virtual AuthResult | on_auth_gssapi_mic (Session &, std::string_view user, std::string_view principal) |
| |
| virtual std::shared_ptr< class ChannelHandler > | on_channel_open_session (Session &) |
| | Return nullptr to refuse the channel.
|
| |
| virtual void | on_service_request (Session &, std::string_view service) |
| |
| virtual void | on_disconnect (Session &) |
| |
| virtual void | on_error (Session &, const ErrorInfo &) |
| |
Authenticates against an in-memory table. For tests, appliances, and quick starts. Passwords are compared in constant time; never logged (SecureString).