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
Provider
TwoFactorProviderRegistryTest
PHP Class Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Provider\TwoFactorProviderRegistryTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Show file
Open project: scheb/two-factor-bundle
Public Methods
Method
Description
beginAuthentication_authenticationNotStarted_notSetSessionFlag
( )
beginAuthentication_authenticationStarted_sessionFlagSet
( )
beginAuthentication_onCall_callTwoFactorProvider
( )
requestAuthenticationCode_alreadyAuthenticated_notCallTwoFactorProvider
( )
requestAuthenticationCode_authenticationFailed_dispatchEvent
( )
requestAuthenticationCode_authenticationSuccessful_dispatchEvent
( )
requestAuthenticationCode_authenticationSuccessful_updateSessionFlag
( )
requestAuthenticationCode_notAuthenticated_callTwoFactorProvider
( )
requestAuthenticationCode_onCall_checkIfAuthenticationComplete
( )
requestAuthenticationCode_requestAuthenticationCode_returnResponse
( )
setUp
( )
Private Methods
Method
Description
assertDispatchAuthenticationEvent
(
$eventType
)
getAuthenticationContext
(
$token
= null,
$authenticated
= false,
$authCode
= null )
getToken
( )
stubIsNotAuthenticated
(
$notAuthenticated
)
Method Details
beginAuthentication_authenticationNotStarted_notSetSessionFlag()
public
method
public
beginAuthentication_authenticationNotStarted_notSetSessionFlag
( )
beginAuthentication_authenticationStarted_sessionFlagSet()
public
method
public
beginAuthentication_authenticationStarted_sessionFlagSet
( )
beginAuthentication_onCall_callTwoFactorProvider()
public
method
public
beginAuthentication_onCall_callTwoFactorProvider
( )
requestAuthenticationCode_alreadyAuthenticated_notCallTwoFactorProvider()
public
method
public
requestAuthenticationCode_alreadyAuthenticated_notCallTwoFactorProvider
( )
requestAuthenticationCode_authenticationFailed_dispatchEvent()
public
method
public
requestAuthenticationCode_authenticationFailed_dispatchEvent
( )
requestAuthenticationCode_authenticationSuccessful_dispatchEvent()
public
method
public
requestAuthenticationCode_authenticationSuccessful_dispatchEvent
( )
requestAuthenticationCode_authenticationSuccessful_updateSessionFlag()
public
method
public
requestAuthenticationCode_authenticationSuccessful_updateSessionFlag
( )
requestAuthenticationCode_notAuthenticated_callTwoFactorProvider()
public
method
public
requestAuthenticationCode_notAuthenticated_callTwoFactorProvider
( )
requestAuthenticationCode_onCall_checkIfAuthenticationComplete()
public
method
public
requestAuthenticationCode_onCall_checkIfAuthenticationComplete
( )
requestAuthenticationCode_requestAuthenticationCode_returnResponse()
public
method
public
requestAuthenticationCode_requestAuthenticationCode_returnResponse
( )
setUp()
public
method
public
setUp
( )