MySQL 8.0.39
Source Code Documentation
Gcs_mysql_network_provider_auth_interface Class Referenceabstract

IoC interface to allow abstraction of the retrieval of Security Credentials. More...

#include <gcs_mysql_network_provider.h>

Inheritance diagram for Gcs_mysql_network_provider_auth_interface:
[legend]

Public Member Functions

virtual ~Gcs_mysql_network_provider_auth_interface ()
 
virtual bool get_credentials (std::string &username, std::string &password)=0
 Get the user credentials needed to establish MySQL connections. More...
 

Detailed Description

IoC interface to allow abstraction of the retrieval of Security Credentials.

Constructor & Destructor Documentation

◆ ~Gcs_mysql_network_provider_auth_interface()

virtual Gcs_mysql_network_provider_auth_interface::~Gcs_mysql_network_provider_auth_interface ( )
inlinevirtual

Member Function Documentation

◆ get_credentials()

virtual bool Gcs_mysql_network_provider_auth_interface::get_credentials ( std::string &  username,
std::string &  password 
)
pure virtual

Get the user credentials needed to establish MySQL connections.

This interface is used either as a proxy for

See also
Replication_thread_api or to be injected by unit tests.
Parameters
usernameusername for the mysql connection
passwordpassword for the mysql connection
Returns
the operation status
Return values
falseOK
trueError, channel not found

Implemented in Gcs_mysql_network_provider_auth_interface_impl.


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