26#ifndef ROUTING_SRC_PROCESSORS_FORWARDERS_CLASSIC_AUTH_NATIVE_FORWARDER_H_
27#define ROUTING_SRC_PROCESSORS_FORWARDERS_CLASSIC_AUTH_NATIVE_FORWARDER_H_
33#include <system_error>
44 std::string initial_server_auth_data,
45 bool in_handshake =
false)
Definition: classic_auth_native_forwarder.h:41
Stage
Definition: classic_auth_native_forwarder.h:50
stdx::expected< Result, std::error_code > response()
Definition: classic_auth_native_forwarder.cc:329
RsaTlsContext rsa_tls_context_
Definition: classic_auth_native_forwarder.h:86
stdx::expected< Result, std::error_code > process() override
Definition: classic_auth_native_forwarder.cc:40
stdx::expected< Result, std::error_code > init()
Definition: classic_auth_native_forwarder.cc:72
std::string initial_server_auth_data_
Definition: classic_auth_native_forwarder.h:84
void stage(Stage stage)
Definition: classic_auth_native_forwarder.h:67
stdx::expected< Result, std::error_code > caching_sha2_encrypted()
Definition: classic_auth_native_forwarder.cc:277
Stage stage_
Definition: classic_auth_native_forwarder.h:88
stdx::expected< Result, std::error_code > error()
Definition: classic_auth_native_forwarder.cc:379
stdx::expected< Result, std::error_code > client_data()
Definition: classic_auth_native_forwarder.cc:108
Stage stage() const
Definition: classic_auth_native_forwarder.h:68
AuthNativeForwarder(MysqlRoutingClassicConnectionBase *conn, std::string initial_server_auth_data, bool in_handshake=false)
Definition: classic_auth_native_forwarder.h:43
stdx::expected< Result, std::error_code > ok()
Definition: classic_auth_native_forwarder.cc:367
stdx::expected< Result, std::error_code > caching_sha2_plaintext()
Definition: classic_auth_native_forwarder.cc:189
std::optional< std::string_view > diagnostic_stage_name() const override
stage name of a staged processor.
Definition: classic_auth_native_forwarder.cc:390
stdx::expected< Result, std::error_code > caching_sha2_scrambled()
Definition: classic_auth_native_forwarder.cc:135
Definition: classic_auth_native.h:33
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