21#include <drizzled/session.h>
22#include <drizzled/plugin/authentication.h>
23#include <drizzled/pcre.h>
29namespace auth_schema {
34 AuthSchema(
bool enabled);
84 const string &scramble_bytes,
85 const string &client_password);
131 pcre2_code *_ident_re;
bool setTable(const string &table)
Set the authentication table.
Session::shared_ptr _session
Internal session for querying auth table.
string escapeQuoteAuthTable(const string &table)
Split, escape, and quote the auth table name.
string escapeString(const string &input)
Escape a string for use as a single-quoted string value.
bool authenticate(const identifier::User &sctx, const string &password)
string escapeQuoteIdentifier(const string &input)
Escape and quote an identifier.
bool verifyMySQLPassword(const string &real_password, const string &scramble_bytes, const string &client_password)
Verify that the client password matches the real password.
A set of Session members describing the current authenticated user.
TODO: Rename this file - func.h is stupid.