EnforcementState

class OC\Authentication\TwoFactorAuth\EnforcementState
Source:lib/private/Authentication/TwoFactorAuth/EnforcementState.php#31
Implements:JsonSerializable

Properties

Methods

public OC\Authentication\TwoFactorAuth\EnforcementState::__construct($enforced, $enforcedGroups=[], $excludedGroups=[])
EnforcementState constructor.
Source:

lib/private/Authentication/TwoFactorAuth/EnforcementState.php#49

Parameters:
  • $enforced (bool)
  • $enforcedGroups (string[])
  • $excludedGroups (string[])
public OC\Authentication\TwoFactorAuth\EnforcementState::isEnforced()
Source:lib/private/Authentication/TwoFactorAuth/EnforcementState.php#60
Returns:bool
public OC\Authentication\TwoFactorAuth\EnforcementState::getEnforcedGroups()
Source:lib/private/Authentication/TwoFactorAuth/EnforcementState.php#67
Returns:string[]
public OC\Authentication\TwoFactorAuth\EnforcementState::getExcludedGroups()
Source:lib/private/Authentication/TwoFactorAuth/EnforcementState.php#74
Returns:string[]
public OC\Authentication\TwoFactorAuth\EnforcementState::jsonSerialize()
Source:lib/private/Authentication/TwoFactorAuth/EnforcementState.php#78