MySQL 9.1.0
Source Code Documentation
ClientSideClassicProtocolState::Credentials Class Reference

credentials per authentication method. More...

#include <classic_protocol_state.h>

Public Member Functions

std::optional< std::string > get (const std::string_view &auth_method) const
 
template<class... Args>
void emplace (Args &&...args)
 
void erase (const std::string &auth_method)
 
void clear ()
 
bool empty () const
 

Private Attributes

std::map< std::string, std::string, std::less<> > credentials_
 

Detailed Description

credentials per authentication method.

Member Function Documentation

◆ clear()

void ClientSideClassicProtocolState::Credentials::clear ( )
inline

◆ emplace()

template<class... Args>
void ClientSideClassicProtocolState::Credentials::emplace ( Args &&...  args)
inline

◆ empty()

bool ClientSideClassicProtocolState::Credentials::empty ( ) const
inline

◆ erase()

void ClientSideClassicProtocolState::Credentials::erase ( const std::string &  auth_method)
inline

◆ get()

std::optional< std::string > ClientSideClassicProtocolState::Credentials::get ( const std::string_view &  auth_method) const
inline

Member Data Documentation

◆ credentials_

std::map<std::string, std::string, std::less<> > ClientSideClassicProtocolState::Credentials::credentials_
private

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