![]()  | 
  
    Webdar 1.0.0
    
   Web user interface to libdar 
   | 
 
HTML responder driving the user authentication through the web interface. More...
#include <challenge.hpp>


Public Member Functions | |
| challenge (const std::shared_ptr< const authentication > &base) | |
| bool | is_an_authoritative_request (const request &req, std::string &user) | 
| answer | give_answer (const request &req) | 
| to be used to answer a non authoritative request  More... | |
  Public Member Functions inherited from responder | |
| responder (const responder &ref)=default | |
| responder (responder &&ref) noexcept=default | |
| responder & | operator= (const responder &ref)=default | 
| responder & | operator= (responder &&ref) noexcept=default | 
| void | set_prefix (const chemin &chem) | 
| used for body_builder object for they have a proper prefix in path  | |
| const chemin & | get_prefix () const | 
| get the recorded URI path prefix for body_builder root hierarchy  | |
| virtual answer | give_answer (const request &req)=0 | 
| provides a standard mean for inherited class to provide answer to requests  More... | |
Additional Inherited Members | |
  Protected Member Functions inherited from responder | |
| virtual void | prefix_has_changed () | 
| hook for inherited class, when the body builder object had its prefix changed  More... | |
HTML responder driving the user authentication through the web interface.
| challenge::challenge | ( | const std::shared_ptr< const authentication > & | base | ) | 
constructor
| [in] | base | points to the authentication base | 
to be used to answer a non authoritative request
Implements responder.
| bool challenge::is_an_authoritative_request | ( | const request & | req, | 
| std::string & | user | ||
| ) | 
returns whether the request is authoritative
| [in] | req | the request to analyse | 
| [out] | user | the authenticated user for this request |