25#ifndef ROUTING_CLASSIC_AUTH_CACHING_SHA2_FORWARDER_INCLUDED
26#define ROUTING_CLASSIC_AUTH_CACHING_SHA2_FORWARDER_INCLUDED
30#include <system_error>
41 std::string initial_server_auth_data,
42 bool in_handshake =
true,
43 bool client_requested_full_auth =
false)
Definition: classic_auth_caching_sha2_forwarder.h:38
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:40
Stage stage_
Definition: classic_auth_caching_sha2_forwarder.h:96
bool client_requested_full_auth_
Definition: classic_auth_caching_sha2_forwarder.h:92
Stage
Definition: classic_auth_caching_sha2_forwarder.h:49
stdx::expected< Result, std::error_code > public_key()
Definition: classic_auth_caching_sha2_forwarder.cc:488
std::string initial_server_auth_data_
Definition: classic_auth_caching_sha2_forwarder.h:89
stdx::expected< Result, std::error_code > auth_data()
Definition: classic_auth_caching_sha2_forwarder.cc:543
stdx::expected< Result, std::error_code > ok()
Definition: classic_auth_caching_sha2_forwarder.cc:617
stdx::expected< Result, std::error_code > error()
Definition: classic_auth_caching_sha2_forwarder.cc:629
void stage(Stage stage)
Definition: classic_auth_caching_sha2_forwarder.h:70
stdx::expected< Result, std::error_code > process() override
Definition: classic_auth_caching_sha2_forwarder.cc:43
bool server_requested_full_auth_
Definition: classic_auth_caching_sha2_forwarder.h:94
stdx::expected< Result, std::error_code > client_data()
Definition: classic_auth_caching_sha2_forwarder.cc:92
stdx::expected< Result, std::error_code > init()
Definition: classic_auth_caching_sha2_forwarder.cc:73
stdx::expected< Result, std::error_code > response()
Definition: classic_auth_caching_sha2_forwarder.cc:395
Stage stage() const
Definition: classic_auth_caching_sha2_forwarder.h:71
stdx::expected< Result, std::error_code > public_key_response()
Definition: classic_auth_caching_sha2_forwarder.cc:440
stdx::expected< Result, std::error_code > send_password()
Definition: classic_auth_caching_sha2_forwarder.cc:339
stdx::expected< Result, std::error_code > plaintext_password()
Definition: classic_auth_caching_sha2_forwarder.cc:250
stdx::expected< Result, std::error_code > encrypted_password()
Definition: classic_auth_caching_sha2_forwarder.cc:204
Definition: classic_auth_caching_sha2.h:38
a processor base class with helper functions.
Definition: forwarding_processor.h:36
Definition: classic_connection_base.h:257
Definition: expected.h:943
Definition: varlen_sort.h:174