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:475
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: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:95
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
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:56
Definition: expected.h:286
Definition: gcs_xcom_synode.h:64