ProviderManager¶
-
class
OC\Authentication\TwoFactorAuth\
ProviderManager
¶ Source: lib/private/Authentication/TwoFactorAuth/ProviderManager.php#36
Properties¶
Methods¶
-
public
OC\Authentication\TwoFactorAuth\ProviderManager::
__construct
($providerLoader, $providerRegistry)¶ Source: lib/private/Authentication/TwoFactorAuth/ProviderManager.php#44
-
public
OC\Authentication\TwoFactorAuth\ProviderManager::
tryEnableProviderFor
($providerId, $user)¶ - Try to enable the provider with the given id for the given user
Source: lib/private/Authentication/TwoFactorAuth/ProviderManager.php#66
Parameters: - $user (
OCP\IUser
)
Returns: bool whether the provider supports this operation
- $user (
-
public
OC\Authentication\TwoFactorAuth\ProviderManager::
tryDisableProviderFor
($providerId, $user)¶ - Try to disable the provider with the given id for the given user
Source: lib/private/Authentication/TwoFactorAuth/ProviderManager.php#85
Parameters: - $user (
OCP\IUser
)
Returns: bool whether the provider supports this operation
- $user (