Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Scheb
TwoFactorBundle
Tests
Security
TwoFactor
VoterTest
PHP Class Scheb\TwoFactorBundle\Tests\Security\TwoFactor\VoterTest
Inheritance:
extends
Scheb\TwoFactorBundle\Tests\TestCase
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
public
vote_authenticatedNoProviders_returnAccessAbstain
( )
vote_authenticatedWithProviders_returnAccessAbstain()
public
method
public
vote_authenticatedWithProviders_returnAccessAbstain
( )
vote_notAuthenticatedNoProviders_returnAccessDenied()
public
method
public
vote_notAuthenticatedNoProviders_returnAccessDenied
( )
vote_notAuthenticatedWithProviders_returnAccessDenied()
public
method
public
vote_notAuthenticatedWithProviders_returnAccessDenied
( )
voter_supportsAttribute_returnFalse()
public
method
public
voter_supportsAttribute_returnFalse
( )
voter_supportsClass_returnTrue()
public
method
public
voter_supportsClass_returnTrue
( )
Property Details
$voter
protected property
protected
Voter,Scheb\TwoFactorBundle\Security\TwoFactor
$voter
return
Scheb\TwoFactorBundle\Security\TwoFactor\Voter