PHP 클래스 Scheb\TwoFactorBundle\Security\TwoFactor\Voter

상속: implements Symfony\Component\Security\Core\Authorization\Voter\VoterInterface
파일 보기 프로젝트 열기: scheb/two-factor-bundle

보호된 프로퍼티들

프로퍼티 타입 설명
$providers string[]
$sessionFlagManager Scheb\TwoFactorBundle\Security\TwoFactor\Session\SessionFlagManager

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

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

supportsAttribute() 공개 메소드

public supportsAttribute ( string $attribute ) : boolean
$attribute string
리턴 boolean true

supportsClass() 공개 메소드

public supportsClass ( string $class ) : boolean
$class string
리턴 boolean true

vote() 공개 메소드

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
리턴 mixed result

프로퍼티 상세

$providers 보호되어 있는 프로퍼티

protected string[] $providers
리턴 string[]

$sessionFlagManager 보호되어 있는 프로퍼티

protected SessionFlagManager,Scheb\TwoFactorBundle\Security\TwoFactor\Session $sessionFlagManager
리턴 Scheb\TwoFactorBundle\Security\TwoFactor\Session\SessionFlagManager