26#ifndef ROUTING_SRC_PROCESSORS_SENDERS_CLASSIC_AUTH_NATIVE_SENDER_H_
27#define ROUTING_SRC_PROCESSORS_SENDERS_CLASSIC_AUTH_NATIVE_SENDER_H_
32#include <system_error>
42 std::string initial_server_auth_data, std::string
password)
Definition: classic_auth_native.h:33
Definition: classic_auth_native_sender.h:39
std::optional< std::string_view > diagnostic_stage_name() const override
stage name of a staged processor.
Definition: classic_auth_native_sender.cc:141
std::string initial_server_auth_data_
Definition: classic_auth_native_sender.h:75
stdx::expected< Result, std::error_code > error()
Definition: classic_auth_native_sender.cc:131
stdx::expected< Result, std::error_code > response()
Definition: classic_auth_native_sender.cc:79
void stage(Stage stage)
Definition: classic_auth_native_sender.h:60
Stage stage() const
Definition: classic_auth_native_sender.h:61
Stage
Definition: classic_auth_native_sender.h:47
stdx::expected< Result, std::error_code > init()
Definition: classic_auth_native_sender.cc:55
AuthNativeSender(MysqlRoutingClassicConnectionBase *conn, std::string initial_server_auth_data, std::string password)
Definition: classic_auth_native_sender.h:41
std::string password_
Definition: classic_auth_native_sender.h:76
stdx::expected< Result, std::error_code > process() override
Definition: classic_auth_native_sender.cc:38
Stage stage_
Definition: classic_auth_native_sender.h:73
stdx::expected< Result, std::error_code > ok()
Definition: classic_auth_native_sender.cc:121
Definition: classic_connection_base.h:57
a processor base class with helper functions.
Definition: processor.h:109
Definition: expected.h:286
static char * password
Definition: mysql_secure_installation.cc:58
Define std::hash<Gtid>.
Definition: gtid.h:355