Mezzio authenticate - additional fields

Hi,

does mezzio authentication allow to configure/add additional fields to the authenticate method, like is_active and/or is_deleted or set the validation method to the password field with additional salt from the database or salt from a file?

Example for Laminas:

For example:

$adapter = new AuthAdapter(
$db,
    'users',
    'username',
    'password',
    "SHA2(CONCAT(password_salt, __STATIC_KEY_FROM_FILE__, ?), 512) AND active = 'TRUE'"`
);

No, because the current SQL query is created without additional fields:

But you can override the adapter for PDO database and fetch additional fields from the configuration and create the SQL query.

And I recommend creating a feature request!

Thank you. I wrote my own class for user authentication.