Webdar 1.0.0
Web user interface to libdar
Public Member Functions | List of all members
authentication_cli Class Reference

authentication_cli implements an authentication method based on a fixed login and password More...

#include <authentication.hpp>

Inheritance diagram for authentication_cli:
Inheritance graph
[legend]
Collaboration diagram for authentication_cli:
Collaboration graph
[legend]

Public Member Functions

 authentication_cli (const std::string &username, const std::string &password)
 
 authentication_cli (const authentication_cli &ref)=default
 
 authentication_cli (authentication_cli &&ref) noexcept=default
 
authentication_clioperator= (const authentication_cli &ref)=default
 
authentication_clioperator= (authentication_cli &&ref) noexcept=default
 
virtual bool valid_credentials (const std::string &username, const std::string &credential) const override
 
- Public Member Functions inherited from authentication
 authentication (const authentication &ref)=default
 
 authentication (authentication &&ref) noexcept=default
 
authenticationoperator= (const authentication &ref)=default
 
authenticationoperator= (authentication &&ref) noexcept=default
 
virtual bool valid_credentials (const std::string &username, const std::string &credential) const =0
 

Detailed Description

authentication_cli implements an authentication method based on a fixed login and password

Member Function Documentation

◆ valid_credentials()

virtual bool authentication_cli::valid_credentials ( const std::string &  username,
const std::string &  credential 
) const
inlineoverridevirtual

Implements authentication.


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