|
OpenTTD Source 20251116-master-g21329071df
|
Callback interface for server implementations to provide the current password. More...
#include <network_crypto.h>
Public Member Functions | |
| virtual std::string_view | GetPassword () const =0 |
| Callback to return the password where to validate against. | |
Callback interface for server implementations to provide the current password.
Definition at line 109 of file network_crypto.h.
|
pure virtual |
Callback to return the password where to validate against.
std::string_view of the current password; an empty view means no password check will be performed. Implemented in NetworkAuthenticationDefaultPasswordProvider.
Referenced by X25519PAKEServerHandler::CanBeUsed(), and X25519PAKEServerHandler::ReceiveResponse().