libsshpp v0.1.7
Modern C++17 wrapper for libssh
Loading...
Searching...
No Matches
sshpp::Authenticator Class Referenceabstract

Authentication strategy interface. See docs/design/04 §4.4. More...

#include <auth.hpp>

Inheritance diagram for sshpp::Authenticator:
[legend]

Public Member Functions

virtual ~Authenticator ()=default
 
virtual std::string_view name () const noexcept=0
 
virtual Result< AuthStatusattempt (detail::SessionCore &) const noexcept=0
 Performs one full attempt. Must not throw.
 

Detailed Description

Authentication strategy interface. See docs/design/04 §4.4.

Constructor & Destructor Documentation

◆ ~Authenticator()

virtual sshpp::Authenticator::~Authenticator ( )
virtualdefault

Member Function Documentation

◆ name()

virtual std::string_view sshpp::Authenticator::name ( ) const
pure virtualnoexcept

◆ attempt()

virtual Result< AuthStatus > sshpp::Authenticator::attempt ( detail::SessionCore ) const
pure virtualnoexcept

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