IDeactivatableByAdmin¶
-
interface
OCP\Authentication\TwoFactorAuth\
IDeactivatableByAdmin
¶ - Marks a 2FA provider as activale by the administrator. This means that anadmin can activate this provider without user interaction. The provider,therefore, must not require any user-provided configuration.
Source: lib/public/Authentication/TwoFactorAuth/IDeactivatableByAdmin.php#38 Parent: OCP\Authentication\TwoFactorAuth\IProvider
Methods¶
-
public
OCP\Authentication\TwoFactorAuth\IDeactivatableByAdmin::
disableFor
($user)¶ - Disable this provider for the given user.
Source: lib/public/Authentication/TwoFactorAuth/IDeactivatableByAdmin.php#49
Parameters: - $user (
OCP\IUser
) the user to deactivate this provider for
Returns: void
Since: 15.0.0
- $user (