|
| virtual | ~SessionHandler ()=default |
| |
| virtual AuthResult | on_auth_none (Session &, std::string_view user) |
| |
| virtual AuthResult | on_auth_password (Session &, std::string_view user, const SecureString &password) |
| |
| virtual AuthResult | on_auth_public_key (Session &, std::string_view user, const Key &, PublicKeyState state) |
| |
| 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 &) |
| |
Per-session authentication/channel-open policy. All auth hooks default to denied; override only what you need. See docs/design/08 ยง8.6.