MySQL 8.4.5
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
classic_protocol::borrowable::message::server::AuthMethodData< Borrowed > Class Template Reference

Opaque auth-method-data message. More...

#include <classic_protocol_message.h>

Public Types

using string_type = std::conditional_t< Borrowed, std::string_view, std::string >
 

Public Member Functions

constexpr AuthMethodData (string_type auth_method_data)
 
constexpr string_type auth_method_data () const
 

Private Attributes

string_type auth_method_data_
 

Detailed Description

template<bool Borrowed>
class classic_protocol::borrowable::message::server::AuthMethodData< Borrowed >

Opaque auth-method-data message.

used for server messages the handshake phase that aren't

  • Ok
  • Error
  • AuthMethodSwitch

like caching_sha2_password does:

  • 0x01 0x02 (send public key)
  • 0x01 0x03 (send full handshake)
  • 0x01 0x04 (fast path done)

Member Typedef Documentation

◆ string_type

template<bool Borrowed>
using classic_protocol::borrowable::message::server::AuthMethodData< Borrowed >::string_type = std::conditional_t<Borrowed, std::string_view, std::string>

Constructor & Destructor Documentation

◆ AuthMethodData()

template<bool Borrowed>
constexpr classic_protocol::borrowable::message::server::AuthMethodData< Borrowed >::AuthMethodData ( string_type  auth_method_data)
inlineconstexpr

Member Function Documentation

◆ auth_method_data()

template<bool Borrowed>
constexpr string_type classic_protocol::borrowable::message::server::AuthMethodData< Borrowed >::auth_method_data ( ) const
inlineconstexpr

Member Data Documentation

◆ auth_method_data_

template<bool Borrowed>
string_type classic_protocol::borrowable::message::server::AuthMethodData< Borrowed >::auth_method_data_
private

The documentation for this class was generated from the following file: