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::AuthMethodSwitch< Borrowed > Class Template Reference

#include <classic_protocol_message.h>

Public Types

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

Public Member Functions

constexpr AuthMethodSwitch ()=default
 
constexpr AuthMethodSwitch (string_type auth_method, string_type auth_method_data)
 
string_type auth_method () const
 
string_type auth_method_data () const
 

Private Attributes

string_type auth_method_
 
string_type auth_method_data_
 

Member Typedef Documentation

◆ string_type

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

Constructor & Destructor Documentation

◆ AuthMethodSwitch() [1/2]

template<bool Borrowed>
constexpr classic_protocol::borrowable::message::server::AuthMethodSwitch< Borrowed >::AuthMethodSwitch ( )
constexprdefault

◆ AuthMethodSwitch() [2/2]

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

Member Function Documentation

◆ auth_method()

template<bool Borrowed>
string_type classic_protocol::borrowable::message::server::AuthMethodSwitch< Borrowed >::auth_method ( ) const
inline

◆ auth_method_data()

template<bool Borrowed>
string_type classic_protocol::borrowable::message::server::AuthMethodSwitch< Borrowed >::auth_method_data ( ) const
inline

Member Data Documentation

◆ auth_method_

template<bool Borrowed>
string_type classic_protocol::borrowable::message::server::AuthMethodSwitch< Borrowed >::auth_method_
private

◆ auth_method_data_

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

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