ProviderLoader

class OC\Authentication\TwoFactorAuth\ProviderLoader
Source:lib/private/Authentication/TwoFactorAuth/ProviderLoader.php#37

Constants

BACKUP_CODES_APP_ID = twofactor_backupcodes
Source:lib/private/Authentication/TwoFactorAuth/ProviderLoader.php#38

Properties

Methods

public OC\Authentication\TwoFactorAuth\ProviderLoader::__construct($appManager, $coordinator)
Source:lib/private/Authentication/TwoFactorAuth/ProviderLoader.php#46
public OC\Authentication\TwoFactorAuth\ProviderLoader::getProviders($user)
Get the list of 2FA providers for the given user
Source:lib/private/Authentication/TwoFactorAuth/ProviderLoader.php#57
Returns:\OCP\Authentication\TwoFactorAuth\IProvider[]
Throws:\Exception
protected OC\Authentication\TwoFactorAuth\ProviderLoader::loadTwoFactorApp($appId)
Load an app by ID if it has not been loaded yet
Source:

lib/private/Authentication/TwoFactorAuth/ProviderLoader.php#99

Parameters:
  • $appId (string)