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

Afficher le fichier Open project: scheb/two-factor-bundle

Protected Properties

Свойство Type Description
$voter Scheb\TwoFactorBundle\Security\TwoFactor\Voter

Méthodes publiques

Méthode Description
setUp ( )
vote_authenticatedNoProviders_returnAccessAbstain ( )
vote_authenticatedWithProviders_returnAccessAbstain ( )
vote_notAuthenticatedNoProviders_returnAccessDenied ( )
vote_notAuthenticatedWithProviders_returnAccessDenied ( )
voter_supportsAttribute_returnFalse ( )
voter_supportsClass_returnTrue ( )

Private Methods

Méthode Description
getSessionFlagManager ( )
getToken ( )
getVoter ( $providerCollection, $sessionFlagManager )

Method Details

setUp() public méthode

public setUp ( )

vote_authenticatedNoProviders_returnAccessAbstain() public méthode

vote_authenticatedWithProviders_returnAccessAbstain() public méthode

vote_notAuthenticatedNoProviders_returnAccessDenied() public méthode

vote_notAuthenticatedWithProviders_returnAccessDenied() public méthode

voter_supportsAttribute_returnFalse() public méthode

voter_supportsClass_returnTrue() public méthode

Property Details

$voter protected_oe property

protected Voter,Scheb\TwoFactorBundle\Security\TwoFactor $voter
Résultat Scheb\TwoFactorBundle\Security\TwoFactor\Voter