PHP Class Scheb\TwoFactorBundle\Security\TwoFactor\Voter

Inheritance: implements Symfony\Component\Security\Core\Authorization\Voter\VoterInterface
Afficher le fichier Open project: scheb/two-factor-bundle

Protected Properties

Свойство Type Description
$providers string[]
$sessionFlagManager Scheb\TwoFactorBundle\Security\TwoFactor\Session\SessionFlagManager

Méthodes publiques

Méthode Description
__construct ( SessionFlagManager $sessionFlagManager, array $providers )
supportsAttribute ( string $attribute ) : boolean
supportsClass ( string $class ) : boolean
vote ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, mixed $object, array $attributes ) : mixed

Method Details

__construct() public méthode

public __construct ( SessionFlagManager $sessionFlagManager, array $providers )
$sessionFlagManager Scheb\TwoFactorBundle\Security\TwoFactor\Session\SessionFlagManager
$providers array

supportsAttribute() public méthode

public supportsAttribute ( string $attribute ) : boolean
$attribute string
Résultat boolean true

supportsClass() public méthode

public supportsClass ( string $class ) : boolean
$class string
Résultat boolean true

vote() public méthode

public vote ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, mixed $object, array $attributes ) : mixed
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface
$object mixed
$attributes array
Résultat mixed result

Property Details

$providers protected_oe property

protected string[] $providers
Résultat string[]

$sessionFlagManager protected_oe property

protected SessionFlagManager,Scheb\TwoFactorBundle\Security\TwoFactor\Session $sessionFlagManager
Résultat Scheb\TwoFactorBundle\Security\TwoFactor\Session\SessionFlagManager