26#ifndef ROUTING_SRC_PROCESSORS_FORWARDERS_CLASSIC_AUTH_CACHING_SHA2_FORWARDER_H_
27#define ROUTING_SRC_PROCESSORS_FORWARDERS_CLASSIC_AUTH_CACHING_SHA2_FORWARDER_H_
32#include <system_error>
43 std::string initial_server_auth_data,
44 bool in_handshake =
true,
45 bool client_requested_full_auth =
false)
Definition: classic_auth_caching_sha2_forwarder.h:40
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:42
Stage stage_
Definition: classic_auth_caching_sha2_forwarder.h:104
bool client_requested_full_auth_
Definition: classic_auth_caching_sha2_forwarder.h:96
Stage
Definition: classic_auth_caching_sha2_forwarder.h:51
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:93
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:72
RsaTlsContext rsa_tls_context_
Definition: classic_auth_caching_sha2_forwarder.h:102
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:98
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:73
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
Pins one TLS generation for an RSA password exchange.
Definition: classic_auth.h:76
Definition: expected.h:286
Define std::hash<Gtid>.
Definition: gtid.h:355