MySQL 9.1.0
Source Code Documentation
|
An interface to access information about Multi factor authentication methods. More...
#include <sql_mfa.h>
Public Member Functions | |
virtual | ~I_multi_factor_auth ()=default |
virtual bool | is_alter_allowed (THD *, LEX_USER *) |
Helper methods to verify and update ALTER USER sql when altering Multi factor authentication methods. More... | |
virtual void | alter_mfa (I_multi_factor_auth *) |
virtual bool | validate_plugins_in_auth_chain (THD *thd, const authentication_policy::Factors &policy_factors)=0 |
Helper method to validate Multi factor authentication methods. More... | |
virtual bool | validate_against_authentication_policy (THD *, const authentication_policy::Factors &) |
Helper method to validate Multi factor authentication methods are correct compared to authentication policy. More... | |
virtual bool | update_user_attributes ()=0 |
method to add/delete Multi factor authentication methods in user_attributes column. More... | |
virtual void | add_factor (I_multi_factor_auth *m) |
virtual bool | serialize (Json_array &mfa_arr)=0 |
Helper methods to convert this interface into a valid JSON object and vice versa. More... | |
virtual bool | deserialize (uint f, Json_dom *mfa_dom)=0 |
virtual bool | init_registration (THD *, uint)=0 |
Helper methods to do registration step. More... | |
virtual bool | finish_registration (THD *, LEX_USER *, uint)=0 |
virtual bool | is_passwordless ()=0 |
virtual void | get_info_for_query_rewrite (THD *, LEX_USER *)=0 |
Fill needed info in LEX_USER::mfa_list for query rewrite. More... | |
virtual void | get_generated_passwords (Userhostpassword_list &gp, const char *u, const char *h)=0 |
Fill in generated passwords from respective Multi factor authentication methods. More... | |
virtual void | get_server_challenge_info (server_challenge_info_vector &sc)=0 |
Fill in server challenge generated as part of initiate registration step. More... | |
Multi_factor_auth_list * | get_multi_factor_auth_list () |
Get methods. More... | |
Multi_factor_auth_info * | get_multi_factor_auth_info () |
An interface to access information about Multi factor authentication methods.
This interface represents a chain of authentication plugins for a given user account.
|
virtualdefault |
|
inlinevirtual |
Reimplemented in Multi_factor_auth_list.
|
inlinevirtual |
Reimplemented in Multi_factor_auth_list.
|
pure virtual |
Implemented in Multi_factor_auth_list, and Multi_factor_auth_info.
Implemented in Multi_factor_auth_list, and Multi_factor_auth_info.
|
pure virtual |
Fill in generated passwords from respective Multi factor authentication methods.
Implemented in Multi_factor_auth_list, and Multi_factor_auth_info.
Fill needed info in LEX_USER::mfa_list for query rewrite.
Implemented in Multi_factor_auth_list, and Multi_factor_auth_info.
|
inline |
|
inline |
Get methods.
|
pure virtual |
Fill in server challenge generated as part of initiate registration step.
Implemented in Multi_factor_auth_list, and Multi_factor_auth_info.
|
pure virtual |
Helper methods to do registration step.
Implemented in Multi_factor_auth_list, and Multi_factor_auth_info.
Helper methods to verify and update ALTER USER sql when altering Multi factor authentication methods.
Reimplemented in Multi_factor_auth_list.
|
pure virtual |
Implemented in Multi_factor_auth_list, and Multi_factor_auth_info.
|
pure virtual |
Helper methods to convert this interface into a valid JSON object and vice versa.
Implemented in Multi_factor_auth_list, and Multi_factor_auth_info.
|
pure virtual |
method to add/delete Multi factor authentication methods in user_attributes column.
Implemented in Multi_factor_auth_list, and Multi_factor_auth_info.
|
inlinevirtual |
Helper method to validate Multi factor authentication methods are correct compared to authentication policy.
Reimplemented in Multi_factor_auth_list.
|
pure virtual |
Helper method to validate Multi factor authentication methods.
Implemented in Multi_factor_auth_list, and Multi_factor_auth_info.