Fawkes API  Fawkes Development Version
fawkes::WebUserVerifier Class Referenceabstract

Interface for user verification. More...

#include <>>

Inheritance diagram for fawkes::WebUserVerifier:

Public Member Functions

virtual ~WebUserVerifier ()
 Virtual empty destructor. More...
 
virtual bool verify_user (const char *user, const char *password)=0 throw ()
 Verify a user. More...
 

Detailed Description

Interface for user verification.

Implementations of this class will verify users for access to the webserver. Note that the password might be a hash for digest authentication.

Author
Tim Niemueller

Definition at line 31 of file user_verifier.h.

Constructor & Destructor Documentation

◆ ~WebUserVerifier()

fawkes::WebUserVerifier::~WebUserVerifier ( )
virtual

Virtual empty destructor.

Definition at line 46 of file user_verifier.cpp.

Member Function Documentation

◆ verify_user()

bool fawkes::WebUserVerifier::verify_user ( const char *  user,
const char *  password 
)
throw (
)
pure virtual

Verify a user.

Check if the passed credentials are valid.

Parameters
useruser name
passworduser supplied password, might be a hash.
Returns
true, if the credentials are valid and the user should be allowed access, false otherwise.

Implemented in WebviewUserVerifier.

Referenced by fawkes::dynamic_reply_free_cb().


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