libsshpp v0.1.7
Modern C++17 wrapper for libssh
Loading...
Searching...
No Matches
sshpp::auth::None Class Referencefinal

"none" — probes the server; sometimes succeeds outright (passwordless accounts). More...

#include <auth.hpp>

Inheritance diagram for sshpp::auth::None:
[legend]
Collaboration diagram for sshpp::auth::None:
[legend]

Public Member Functions

std::string_view name () const noexcept override
 
Result< AuthStatusattempt (detail::SessionCore &) const noexcept override
 Performs one full attempt. Must not throw.
 
- Public Member Functions inherited from sshpp::Authenticator
virtual ~Authenticator ()=default
 

Detailed Description

"none" — probes the server; sometimes succeeds outright (passwordless accounts).

Member Function Documentation

◆ name()

std::string_view sshpp::auth::None::name ( ) const
inlineoverridevirtualnoexcept

Implements sshpp::Authenticator.

◆ attempt()

SSHPP_INLINE Result< AuthStatus > sshpp::auth::None::attempt ( detail::SessionCore ) const
overridevirtualnoexcept

Performs one full attempt. Must not throw.

Implements sshpp::Authenticator.


The documentation for this class was generated from the following files: