drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
auth_http::Auth_http Class Reference
Inheritance diagram for auth_http::Auth_http:
[legend]
Collaboration diagram for auth_http::Auth_http:
[legend]

Public Member Functions

 Auth_http (std::string name_arg, const std::string &url_arg)
std::string & getAuthURL ()
bool setAuthURL (std::string &new_auth_url)
virtual bool authenticate (const identifier::User &sctx, const string &password)
Public Member Functions inherited from drizzled::plugin::Authentication
 Authentication (std::string name_arg)
Public Member Functions inherited from drizzled::plugin::Plugin
 Plugin (const std::string &name, const std::string &type_name)
virtual void shutdownPlugin ()
virtual void prime ()
virtual void startup (drizzled::Session &)
void activate ()
void deactivate ()
bool isActive () const
const std::string & getName () const
void setModule (module::Module *module)
const std::string & getTypeName () const
virtual bool removeLast () const
const std::string & getModuleName () const

Private Attributes

CURLcode rv
CURL * curl_handle
std::string sysvar_auth_url

Additional Inherited Members

Public Types inherited from drizzled::plugin::Plugin
typedef std::pair< const std::string, const std::string > map_key
typedef std::unique_ptr< plugin::Plugin, deleter_fn > owned_ptr
typedef std::map< const map_key, owned_ptr > map
typedef std::vector< Plugin * > vector
Static Public Member Functions inherited from drizzled::plugin::Authentication
static bool addPlugin (plugin::Authentication &)
static void removePlugin (plugin::Authentication &)
static bool isAuthenticated (const drizzled::identifier::User &, const std::string &password)

Detailed Description

Definition at line 48 of file auth_http.cc.

Constructor & Destructor Documentation

◆ Auth_http()

auth_http::Auth_http::Auth_http ( std::string name_arg,
const std::string & url_arg )
inline

Definition at line 54 of file auth_http.cc.

◆ ~Auth_http()

auth_http::Auth_http::~Auth_http ( )
inline

Definition at line 91 of file auth_http.cc.

Member Function Documentation

◆ authenticate()

virtual bool auth_http::Auth_http::authenticate ( const identifier::User & sctx,
const string & password )
inlinevirtual

Implements drizzled::plugin::Authentication.

Definition at line 97 of file auth_http.cc.

◆ getAuthURL()

std::string & auth_http::Auth_http::getAuthURL ( )
inline

Definition at line 75 of file auth_http.cc.

◆ setAuthURL()

bool auth_http::Auth_http::setAuthURL ( std::string & new_auth_url)
inline

Definition at line 80 of file auth_http.cc.

Member Data Documentation

◆ curl_handle

CURL* auth_http::Auth_http::curl_handle
private

Definition at line 51 of file auth_http.cc.

◆ rv

CURLcode auth_http::Auth_http::rv
private

Definition at line 50 of file auth_http.cc.

◆ sysvar_auth_url

std::string auth_http::Auth_http::sysvar_auth_url
private

Definition at line 52 of file auth_http.cc.


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