#include <password.h>
◆ login() [1/3]
◆ login() [2/3]
| tools::login::login |
( |
const login & |
| ) |
|
|
delete |
◆ login() [3/3]
| tools::login::login |
( |
login && |
| ) |
|
|
default |
◆ ~login()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ parse()
| boost::optional< login > tools::login::parse |
( |
std::string && |
userpass, |
|
|
bool |
verify, |
|
|
const std::function< boost::optional< password_container >(bool)> & |
prompt |
|
) |
| |
|
static |
Extracts username and password from the format username:password. A blank username or password is allowed. If the : character is not present, password_container::prompt will be called by forwarding the verify and message arguments.
- Parameters
-
- Returns
- The username and password, or boost::none if
password_container::prompt fails.
◆ password
◆ username
| std::string tools::login::username |
The documentation for this struct was generated from the following files: