Callback interface for client implementations to provide the handling of the password requests.
More...
#include <network_crypto.h>
|
| void | Reply (const std::string &password) override |
| | Reply to the request with the given password.
|
| virtual void | SendResponse ()=0 |
| | Callback to trigger sending the response for the password request.
|
| virtual void | AskUserForPassword (std::shared_ptr< NetworkAuthenticationPasswordRequest > request)=0 |
| | Callback to trigger asking the user for the password.
|
|
virtual | ~NetworkAuthenticationPasswordRequest ()=default |
| | Ensure the destructor of the sub classes are called as well.
|
|
| std::string | password |
| | The entered password.
|
Callback interface for client implementations to provide the handling of the password requests.
Definition at line 87 of file network_crypto.h.
◆ AskUserForPassword()
Callback to trigger asking the user for the password.
- Parameters
-
| request | The request to the user, to which it can reply with the password. |
Implemented in ClientGamePasswordRequestHandler.
◆ Reply()
| void NetworkAuthenticationPasswordRequestHandler::Reply |
( |
const std::string & | password | ) |
|
|
overridevirtual |
◆ SendResponse()
| virtual void NetworkAuthenticationPasswordRequestHandler::SendResponse |
( |
| ) |
|
|
pure virtual |
◆ X25519PAKEClientHandler
◆ password
| std::string NetworkAuthenticationPasswordRequestHandler::password |
|
protected |
The documentation for this class was generated from the following files: