PHP Class Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Provider\TwoFactorProviderRegistryTest

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

Méthodes publiques

Méthode 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

Méthode Description
assertDispatchAuthenticationEvent ( $eventType )
getAuthenticationContext ( $token = null, $authenticated = false, $authCode = null )
getToken ( )
stubIsNotAuthenticated ( $notAuthenticated )

Method Details

beginAuthentication_authenticationNotStarted_notSetSessionFlag() public méthode

beginAuthentication_authenticationStarted_sessionFlagSet() public méthode

beginAuthentication_onCall_callTwoFactorProvider() public méthode

requestAuthenticationCode_alreadyAuthenticated_notCallTwoFactorProvider() public méthode

requestAuthenticationCode_authenticationFailed_dispatchEvent() public méthode

requestAuthenticationCode_authenticationSuccessful_dispatchEvent() public méthode

requestAuthenticationCode_authenticationSuccessful_updateSessionFlag() public méthode

requestAuthenticationCode_notAuthenticated_callTwoFactorProvider() public méthode

requestAuthenticationCode_onCall_checkIfAuthenticationComplete() public méthode

requestAuthenticationCode_requestAuthenticationCode_returnResponse() public méthode

setUp() public méthode

public setUp ( )