MySQL 9.1.0
Source Code Documentation
Default_local_authid Class Reference

#include <auth_common.h>

Inheritance diagram for Default_local_authid:
[legend]

Public Member Functions

 Default_local_authid (const THD *thd)
 
bool precheck (Security_context *sctx)
 Check if the security context can be created as a local authid. More...
 
bool create (Security_context *sctx)
 Create a local authid without modifying any tables. More...
 
- Public Member Functions inherited from Create_authid< Default_local_authid >
bool operator() (Security_context *sctx, Operation op) override
 
- Public Member Functions inherited from Security_context_policy
 Security_context_policy ()=default
 
virtual ~Security_context_policy ()=default
 
 Security_context_policy (const Security_context_policy &)=default
 

Private Attributes

const THDm_thd
 

Additional Inherited Members

- Public Types inherited from Security_context_policy
enum  Operation { Precheck , Execute }
 

Constructor & Destructor Documentation

◆ Default_local_authid()

Default_local_authid::Default_local_authid ( const THD thd)

Member Function Documentation

◆ create()

bool Default_local_authid::create ( Security_context sctx)

Create a local authid without modifying any tables.

Parameters
[out]sctxThe authid that will be extended with a user profile
Returns
Success status
Return values
truean error occurred
falsesuccess

◆ precheck()

bool Default_local_authid::precheck ( Security_context sctx)

Check if the security context can be created as a local authid.

Parameters
[out]sctxThe authid to be checked.
Returns
Success status
Return values
truean error occurred
falsesuccess

Member Data Documentation

◆ m_thd

const THD* Default_local_authid::m_thd
private

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