MySQL 8.3.0
Source Code Documentation
HttpAuthBackend Class Referenceabstract

Base class of all AuthBackends. More...

#include <http_auth_backend.h>

Inheritance diagram for HttpAuthBackend:
[legend]

Public Member Functions

 HttpAuthBackend ()=default
 
 HttpAuthBackend (const HttpAuthBackend &)=default
 
 HttpAuthBackend (HttpAuthBackend &&)=default
 
HttpAuthBackendoperator= (const HttpAuthBackend &)=default
 
HttpAuthBackendoperator= (HttpAuthBackend &&)=default
 
virtual std::error_code authenticate (const std::string &username, const std::string &authdata)=0
 authentication username with authdata against backend. More...
 
virtual ~HttpAuthBackend ()=0
 destructor. More...
 

Detailed Description

Base class of all AuthBackends.

Constructor & Destructor Documentation

◆ HttpAuthBackend() [1/3]

HttpAuthBackend::HttpAuthBackend ( )
default

◆ HttpAuthBackend() [2/3]

HttpAuthBackend::HttpAuthBackend ( const HttpAuthBackend )
default

◆ HttpAuthBackend() [3/3]

HttpAuthBackend::HttpAuthBackend ( HttpAuthBackend &&  )
default

◆ ~HttpAuthBackend()

HttpAuthBackend::~HttpAuthBackend ( )
pure virtualdefault

destructor.

Member Function Documentation

◆ authenticate()

virtual std::error_code HttpAuthBackend::authenticate ( const std::string &  username,
const std::string &  authdata 
)
pure virtual

authentication username with authdata against backend.

Implemented in HttpAuthBackendHtpasswd, and HttpAuthBackendMetadataCache.

◆ operator=() [1/2]

HttpAuthBackend & HttpAuthBackend::operator= ( const HttpAuthBackend )
default

◆ operator=() [2/2]

HttpAuthBackend & HttpAuthBackend::operator= ( HttpAuthBackend &&  )
default

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