OpenTTD Source
20241108-master-g80f628063a
|
Public Member Functions | |
TestPasswordRequestHandler (std::string &password) | |
void | SendResponse () override |
Callback to trigger sending the response for the password request. | |
void | AskUserForPassword (std::shared_ptr< NetworkAuthenticationPasswordRequest > request) override |
Callback to trigger asking the user for the password. More... | |
Public Member Functions inherited from NetworkAuthenticationPasswordRequestHandler | |
virtual void | Reply (const std::string &password) override |
Reply to the request with the given password. | |
Private Attributes | |
std::string | password |
Additional Inherited Members | |
Protected Attributes inherited from NetworkAuthenticationPasswordRequestHandler | |
std::string | password |
The entered password. | |
Definition at line 54 of file test_network_crypto.cpp.
|
inlineoverridevirtual |
Callback to trigger asking the user for the password.
request | The request to the user, to which it can reply with the password. |
Implements NetworkAuthenticationPasswordRequestHandler.
Definition at line 60 of file test_network_crypto.cpp.