DbUserMfaRepository
class DbUserMfaRepository implements UserMfaRepositoryInterface (View source)
Methods
__construct(PDO $db, ConfigurationManager $config, LoggerInterface|null $logger = null)
No description
UserMfa|null
findByUserId(int $userId)
Find MFA settings by user ID
array
findAllEnabled()
Get all users with MFA enabled
Details
__construct(PDO $db, ConfigurationManager $config, LoggerInterface|null $logger = null)
No description
UserMfa|null
findByUserId(int $userId)
Find MFA settings by user ID
UserMfa|null
findById(int $id)
Find MFA settings by ID
bool
delete(UserMfa $userMfa)
Delete MFA settings
array
findAllEnabled()
Get all users with MFA enabled