| 818 | } |
| 819 | |
| 820 | NetworkRecvStatus ServerNetworkAdminSocketHandler::SendAuthRequest() |
| 821 | { |
| 822 | this->status = ADMIN_STATUS_AUTHENTICATE; |
| 823 | |
| 824 | Debug(net, 6, "[admin] '{}' ({}) authenticating using {}", this->admin_name, this->admin_version, this->authentication_handler->GetName()); |
| 825 | |
| 826 | auto p = std::make_unique<Packet>(this, ADMIN_PACKET_SERVER_AUTH_REQUEST); |
| 827 | this->authentication_handler->SendRequest(*p); |
| 828 | |
| 829 | this->SendPacket(std::move(p)); |
| 830 | |
| 831 | return NETWORK_RECV_STATUS_OKAY; |
| 832 | } |
| 833 | |
| 834 | NetworkRecvStatus ServerNetworkAdminSocketHandler::SendEnableEncryption() |
| 835 | { |
no test coverage detected