PHP Class Scheb\TwoFactorBundle\Tests\Security\TwoFactor\VoterTest

Show file Open project: scheb/two-factor-bundle

Protected Properties

Property Type Description
$voter Scheb\TwoFactorBundle\Security\TwoFactor\Voter

Public Methods

Method Description
setUp ( )
vote_authenticatedNoProviders_returnAccessAbstain ( )
vote_authenticatedWithProviders_returnAccessAbstain ( )
vote_notAuthenticatedNoProviders_returnAccessDenied ( )
vote_notAuthenticatedWithProviders_returnAccessDenied ( )
voter_supportsAttribute_returnFalse ( )
voter_supportsClass_returnTrue ( )

Private Methods

Method Description
getSessionFlagManager ( )
getToken ( )
getVoter ( $providerCollection, $sessionFlagManager )

Method Details

setUp() public method

public setUp ( )

vote_authenticatedNoProviders_returnAccessAbstain() public method

vote_authenticatedWithProviders_returnAccessAbstain() public method

vote_notAuthenticatedNoProviders_returnAccessDenied() public method

vote_notAuthenticatedWithProviders_returnAccessDenied() public method

voter_supportsAttribute_returnFalse() public method

voter_supportsClass_returnTrue() public method

Property Details

$voter protected property

protected Voter,Scheb\TwoFactorBundle\Security\TwoFactor $voter
return Scheb\TwoFactorBundle\Security\TwoFactor\Voter