PHP Класс Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Provider\TwoFactorProviderRegistryTest

Наследование: extends PHPUnit_Framework_TestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
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 ( )

Приватные методы

Метод Описание
assertDispatchAuthenticationEvent ( $eventType )
getAuthenticationContext ( $token = null, $authenticated = false, $authCode = null )
getToken ( )
stubIsNotAuthenticated ( $notAuthenticated )

Описание методов

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() публичный Метод

public setUp ( )