26#ifndef ROUTING_SRC_PROCESSORS_FORWARDERS_CLASSIC_AUTH_CACHING_SHA2_FORWARDER_H_
27#define ROUTING_SRC_PROCESSORS_FORWARDERS_CLASSIC_AUTH_CACHING_SHA2_FORWARDER_H_
31#include <system_error>
42 std::string initial_server_auth_data,
43 bool in_handshake =
true,
44 bool client_requested_full_auth =
false)
Definition: classic_auth_caching_sha2_forwarder.h:39
AuthCachingSha2Forwarder(MysqlRoutingClassicConnectionBase *conn, std::string initial_server_auth_data, bool in_handshake=true, bool client_requested_full_auth=false)
Definition: classic_auth_caching_sha2_forwarder.h:41
Stage stage_
Definition: classic_auth_caching_sha2_forwarder.h:99
bool client_requested_full_auth_
Definition: classic_auth_caching_sha2_forwarder.h:95
Stage
Definition: classic_auth_caching_sha2_forwarder.h:50
stdx::expected< Result, std::error_code > public_key()
Definition: classic_auth_caching_sha2_forwarder.cc:475
std::string initial_server_auth_data_
Definition: classic_auth_caching_sha2_forwarder.h:92
stdx::expected< Result, std::error_code > auth_data()
Definition: classic_auth_caching_sha2_forwarder.cc:527
stdx::expected< Result, std::error_code > ok()
Definition: classic_auth_caching_sha2_forwarder.cc:599
stdx::expected< Result, std::error_code > error()
Definition: classic_auth_caching_sha2_forwarder.cc:611
void stage(Stage stage)
Definition: classic_auth_caching_sha2_forwarder.h:71
stdx::expected< Result, std::error_code > process() override
Definition: classic_auth_caching_sha2_forwarder.cc:44
bool server_requested_full_auth_
Definition: classic_auth_caching_sha2_forwarder.h:97
stdx::expected< Result, std::error_code > client_data()
Definition: classic_auth_caching_sha2_forwarder.cc:91
stdx::expected< Result, std::error_code > init()
Definition: classic_auth_caching_sha2_forwarder.cc:74
stdx::expected< Result, std::error_code > response()
Definition: classic_auth_caching_sha2_forwarder.cc:384
Stage stage() const
Definition: classic_auth_caching_sha2_forwarder.h:72
std::optional< std::string_view > diagnostic_stage_name() const override
stage name of a staged processor.
Definition: classic_auth_caching_sha2_forwarder.cc:623
stdx::expected< Result, std::error_code > public_key_response()
Definition: classic_auth_caching_sha2_forwarder.cc:428
stdx::expected< Result, std::error_code > send_password()
Definition: classic_auth_caching_sha2_forwarder.cc:329
stdx::expected< Result, std::error_code > plaintext_password()
Definition: classic_auth_caching_sha2_forwarder.cc:243
stdx::expected< Result, std::error_code > encrypted_password()
Definition: classic_auth_caching_sha2_forwarder.cc:199
Definition: classic_auth_caching_sha2.h:38
a processor base class with helper functions.
Definition: forwarding_processor.h:38
Definition: classic_connection_base.h:57
Definition: expected.h:286
Define std::hash<Gtid>.
Definition: gtid.h:355