26#ifndef ROUTING_CLASSIC_AUTH_CACHING_SHA2_FORWARDER_INCLUDED
27#define ROUTING_CLASSIC_AUTH_CACHING_SHA2_FORWARDER_INCLUDED
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:97
bool client_requested_full_auth_
Definition: classic_auth_caching_sha2_forwarder.h:93
Stage
Definition: classic_auth_caching_sha2_forwarder.h:50
stdx::expected< Result, std::error_code > public_key()
Definition: classic_auth_caching_sha2_forwarder.cc:495
std::string initial_server_auth_data_
Definition: classic_auth_caching_sha2_forwarder.h:90
stdx::expected< Result, std::error_code > auth_data()
Definition: classic_auth_caching_sha2_forwarder.cc:550
stdx::expected< Result, std::error_code > ok()
Definition: classic_auth_caching_sha2_forwarder.cc:624
stdx::expected< Result, std::error_code > error()
Definition: classic_auth_caching_sha2_forwarder.cc:636
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:95
stdx::expected< Result, std::error_code > client_data()
Definition: classic_auth_caching_sha2_forwarder.cc:93
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:402
Stage stage() const
Definition: classic_auth_caching_sha2_forwarder.h:72
stdx::expected< Result, std::error_code > public_key_response()
Definition: classic_auth_caching_sha2_forwarder.cc:447
stdx::expected< Result, std::error_code > send_password()
Definition: classic_auth_caching_sha2_forwarder.cc:346
stdx::expected< Result, std::error_code > plaintext_password()
Definition: classic_auth_caching_sha2_forwarder.cc:257
stdx::expected< Result, std::error_code > encrypted_password()
Definition: classic_auth_caching_sha2_forwarder.cc:211
Definition: classic_auth_caching_sha2.h:39
a processor base class with helper functions.
Definition: forwarding_processor.h:34
Definition: classic_connection_base.h:221
Definition: expected.h:944
Definition: gcs_xcom_synode.h:64