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

#include <auth.hpp>

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

Public Member Functions

 Password (SecureString password)
 
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
 

Constructor & Destructor Documentation

◆ Password()

sshpp::auth::Password::Password ( SecureString  password)
inlineexplicit

Member Function Documentation

◆ name()

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

Implements sshpp::Authenticator.

◆ attempt()

SSHPP_INLINE Result< AuthStatus > sshpp::auth::Password::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: