class UserPassword (View source)

Functions for user password

Methods

__construct(Privileges $serverPrivileges, AuthenticationPluginFactory $authPluginFactory, DatabaseInterface $dbi)

No description

array
setChangePasswordMsg(string $pmaPw, string $pmaPw2, bool $skipPassword)

Generate the message

string
changePassword(string $password, string|null $authenticationPlugin)

Change the password

string
getFormForChangePassword(string|null $username, string|null $hostname, string $route)

No description

Details

__construct(Privileges $serverPrivileges, AuthenticationPluginFactory $authPluginFactory, DatabaseInterface $dbi)

No description

Parameters

Privileges $serverPrivileges
AuthenticationPluginFactory $authPluginFactory
DatabaseInterface $dbi

array setChangePasswordMsg(string $pmaPw, string $pmaPw2, bool $skipPassword)

Generate the message

Parameters

string $pmaPw
string $pmaPw2
bool $skipPassword

Return Value

array

string changePassword(string $password, string|null $authenticationPlugin)

Change the password

Parameters

string $password

New password

string|null $authenticationPlugin

Return Value

string

string getFormForChangePassword(string|null $username, string|null $hostname, string $route)

No description

Parameters

string|null $username
string|null $hostname
string $route

Return Value

string