enum Credential
Public API: explicitly declared with @visibility public.

What an IDENTIFIED clause gives the authentication plugin.

Mirrors the flags of the server's LEX_MFA: BY 'password' is a cleartext password the plugin hashes, BY RANDOM PASSWORD asks the server to generate one and return it, AS 'string' is the stored authentication string as is, MySQL 5.x BY PASSWORD 'hash' is a hash in the format of the default plugin, and a plugin named alone receives nothing. Source: https://dev.mysql.com/doc/refman/8.4/en/create-user.html#create-user-authentication, https://dev.mysql.com/doc/refman/5.7/en/create-user.html.

Naming the credential of a random passworddoctest
\SqlSemantics\Platform\MySql\Statement\Account\User\Credential::RandomPassword->name // => 'RandomPassword'

Cases§

case None
case Password
case RandomPassword
case Hash
case PasswordHash

Methods§

Test cases 8§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 1
Other tests reaching this symbol 7

Relations§

Method calls 1
Constant reads 28
Type declarations 1