MySQL 9.1.0
Source Code Documentation
validate_password_changed_characters_imp Class Reference

#include <validate_password_imp.h>

Static Public Member Functions

static mysql_service_status_t validate (my_h_string current_password, my_h_string new_password, uint *minimum_required, uint *changed) noexcept
 Validate if number of changed characters matches the pre-configured criteria. More...
 

Member Function Documentation

◆ validate()

mysql_service_status_t validate_password_changed_characters_imp::validate ( my_h_string  current_password,
my_h_string  new_password,
uint *  minimum_required,
uint *  changed 
)
staticnoexcept

Validate if number of changed characters matches the pre-configured criteria.

Parameters
[in]current_passwordCurrent password
[in]new_passwordNew password
[out]minimum_requiredMinimum required number of changed characters
[out]changedActual number of changed characters
Returns
Result of validation
Return values
falseSuccess
trueError

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