Authentication Realm.
More...
#include <http_auth_realm.h>
Authentication Realm.
multiple areas in the HTTP server may have the same required authentication. They are in the same 'realm'.
A realm has
- a name
- a requirement
- a backend
- a required authentication method
◆ HttpAuthRealm()
HttpAuthRealm::HttpAuthRealm |
( |
const std::string & |
name, |
|
|
const std::string & |
require, |
|
|
const std::string & |
method, |
|
|
const std::string & |
backend |
|
) |
| |
|
inline |
◆ authenticate()
std::error_code HttpAuthRealm::authenticate |
( |
const std::string & |
username, |
|
|
const std::string & |
password |
|
) |
| const |
authenticate a user in a realm.
- Returns
- error-code
- Return values
-
0 | authentication without error |
◆ backend()
std::string HttpAuthRealm::backend |
( |
| ) |
const |
|
inline |
Authentication Backend name.
◆ method()
std::string HttpAuthRealm::method |
( |
| ) |
const |
|
inline |
Authentication Method name.
◆ name()
std::string HttpAuthRealm::name |
( |
| ) |
const |
|
inline |
◆ require()
std::string HttpAuthRealm::require |
( |
| ) |
const |
|
inline |
require notitation of the realm
◆ backend_
std::string HttpAuthRealm::backend_ |
|
private |
◆ method_
std::string HttpAuthRealm::method_ |
|
private |
◆ name_
std::string HttpAuthRealm::name_ |
|
private |
◆ require_
std::string HttpAuthRealm::require_ |
|
private |
The documentation for this class was generated from the following files: