OpenTTD Source 20260311-master-g511d3794ce
NetworkAuthenticationPasswordRequest Class Referenceabstract

Callback interface for requests for passwords in the context of network authentication. More...

#include <network_crypto.h>

Inheritance diagram for NetworkAuthenticationPasswordRequest:
NetworkAuthenticationPasswordRequestHandler ClientGamePasswordRequestHandler

Public Member Functions

virtual ~NetworkAuthenticationPasswordRequest ()=default
 Ensure the destructor of the sub classes are called as well.
virtual void Reply (const std::string &password)=0
 Reply to the request with the given password.

Detailed Description

Callback interface for requests for passwords in the context of network authentication.

Definition at line 72 of file network_crypto.h.

Member Function Documentation

◆ Reply()

virtual void NetworkAuthenticationPasswordRequest::Reply ( const std::string & password)
pure virtual

Reply to the request with the given password.

Parameters
passwordThe requested password from the user.

Implemented in NetworkAuthenticationPasswordRequestHandler.


The documentation for this class was generated from the following file: