PHP Класс Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Trusted\TrustedFilterTest

Наследование: extends Scheb\TwoFactorBundle\Tests\TestCase
Показать файл Открыть проект

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

Метод Описание
beginAuthentication_isTrustedComputer_notCallAuthenticationHandler ( )
beginAuthentication_notTrustedComputer_callAuthenticationHandler ( )
beginAuthentication_trustedOptionNotUsed_setUseTrustedOptionFalse ( )
beginAuthentication_trustedOptionUsedOnlyIfContextAllows ( )
beginAuthentication_trustedOptionUsed_checkTrustedCookie ( )
beginAuthentication_trustedOptionUsed_setUseTrustedOptionTrue ( )
getAuthenticationContext ( $request = null, $user = null )
getResponse ( )
getResponseAndExpectedReturnValue ( ) : array Return test data for response and expected return value.
getUser ( )
requestAuthenticationCode_authenticatedAndTrustedChecked_setTrustedCookie ( )
requestAuthenticationCode_authenticatedTrustedNotChecked_notSetTrustedCookie ( )
requestAuthenticationCode_createNoResponse_returnNull ( $response )
requestAuthenticationCode_notAuthenticated_notSetTrustedCookie ( )
requestAuthenticationCode_responseCreated_returnResponse ( )
requestAuthenticationCode_shouldCheckIfTrustedIsAllowedByContext ( )
requestAuthenticationCode_trustedOptionNotUsed_setUseTrustedOptionFalse ( )
requestAuthenticationCode_trustedOptionUsed_setUseTrustedOptionTrue ( )
setUp ( )

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

Метод Описание
getRequest ( )
getTrustedFilter ( $authHandler, $cookieManager, $enableTrustedOption )

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

beginAuthentication_isTrustedComputer_notCallAuthenticationHandler() публичный Метод

beginAuthentication_notTrustedComputer_callAuthenticationHandler() публичный Метод

beginAuthentication_trustedOptionNotUsed_setUseTrustedOptionFalse() публичный Метод

beginAuthentication_trustedOptionUsedOnlyIfContextAllows() публичный Метод

beginAuthentication_trustedOptionUsed_checkTrustedCookie() публичный Метод

beginAuthentication_trustedOptionUsed_setUseTrustedOptionTrue() публичный Метод

getAuthenticationContext() публичный Метод

public getAuthenticationContext ( $request = null, $user = null )

getResponse() публичный Метод

public getResponse ( )

getResponseAndExpectedReturnValue() публичный Метод

Return test data for response and expected return value.
public getResponseAndExpectedReturnValue ( ) : array
Результат array

getUser() публичный Метод

public getUser ( )

requestAuthenticationCode_authenticatedAndTrustedChecked_setTrustedCookie() публичный Метод

requestAuthenticationCode_authenticatedTrustedNotChecked_notSetTrustedCookie() публичный Метод

requestAuthenticationCode_createNoResponse_returnNull() публичный Метод

requestAuthenticationCode_notAuthenticated_notSetTrustedCookie() публичный Метод

requestAuthenticationCode_responseCreated_returnResponse() публичный Метод

requestAuthenticationCode_shouldCheckIfTrustedIsAllowedByContext() публичный Метод

requestAuthenticationCode_trustedOptionNotUsed_setUseTrustedOptionFalse() публичный Метод

requestAuthenticationCode_trustedOptionUsed_setUseTrustedOptionTrue() публичный Метод

setUp() публичный Метод

public setUp ( )