ProviderSet

class OC\Authentication\TwoFactorAuth\ProviderSet
Contains all two-factor provider information for the two-factor login challenge
Source:lib/private/Authentication/TwoFactorAuth/ProviderSet.php#36

Properties

Methods

public OC\Authentication\TwoFactorAuth\ProviderSet::__construct($providers, $providerMissing)
Source:

lib/private/Authentication/TwoFactorAuth/ProviderSet.php#48

Parameters:
public OC\Authentication\TwoFactorAuth\ProviderSet::getProvider($providerId)
Source:

lib/private/Authentication/TwoFactorAuth/ProviderSet.php#60

Parameters:
  • $providerId (string)
Returns:

\OCP\Authentication\TwoFactorAuth\IProvider | null

public OC\Authentication\TwoFactorAuth\ProviderSet::getProviders()
Source:lib/private/Authentication/TwoFactorAuth/ProviderSet.php#67
Returns:\OCP\Authentication\TwoFactorAuth\IProvider[]
public OC\Authentication\TwoFactorAuth\ProviderSet::getPrimaryProviders()
Source:lib/private/Authentication/TwoFactorAuth/ProviderSet.php#74
Returns:\OCP\Authentication\TwoFactorAuth\IProvider[]
public OC\Authentication\TwoFactorAuth\ProviderSet::isProviderMissing()
Source:lib/private/Authentication/TwoFactorAuth/ProviderSet.php#80