Simple inplementation of servlet::principal
with a name only.
More...
#include <session.h>
Simple inplementation of servlet::principal
with a name only.
servlet::named_principal::named_principal |
( |
const std::string & |
name | ) |
|
|
inline |
Constructs principal with a given name.
- Parameters
-
servlet::named_principal::named_principal |
( |
std::string && |
name | ) |
|
|
inline |
Constructs principal with a given name.
- Parameters
-
string_view servlet::named_principal::get_name |
( |
| ) |
|
|
inlineoverridevirtualnoexcept |
Returns the name of this principal.
- Returns
- the name of this principal.
Implements servlet::principal.
The documentation for this class was generated from the following file: