PHP 클래스 Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Trusted\TrustedFilterTest

파일 보기 프로젝트 열기: scheb/two-factor-bundle

공개 메소드들

메소드 설명
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.

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 ( )