Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Scheb
TwoFactorBundle
Tests
Security
TwoFactor
Trusted
TrustedFilterTest
PHP 클래스 Scheb\TwoFactorBundle\Tests\Security\TwoFactor\Trusted\TrustedFilterTest
상속:
extends
Scheb\TwoFactorBundle\Tests\TestCase
파일 보기
프로젝트 열기: 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()
공개
메소드
public
beginAuthentication_isTrustedComputer_notCallAuthenticationHandler
( )
beginAuthentication_notTrustedComputer_callAuthenticationHandler()
공개
메소드
public
beginAuthentication_notTrustedComputer_callAuthenticationHandler
( )
beginAuthentication_trustedOptionNotUsed_setUseTrustedOptionFalse()
공개
메소드
public
beginAuthentication_trustedOptionNotUsed_setUseTrustedOptionFalse
( )
beginAuthentication_trustedOptionUsedOnlyIfContextAllows()
공개
메소드
public
beginAuthentication_trustedOptionUsedOnlyIfContextAllows
( )
beginAuthentication_trustedOptionUsed_checkTrustedCookie()
공개
메소드
public
beginAuthentication_trustedOptionUsed_checkTrustedCookie
( )
beginAuthentication_trustedOptionUsed_setUseTrustedOptionTrue()
공개
메소드
public
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()
공개
메소드
public
requestAuthenticationCode_authenticatedAndTrustedChecked_setTrustedCookie
( )
requestAuthenticationCode_authenticatedTrustedNotChecked_notSetTrustedCookie()
공개
메소드
public
requestAuthenticationCode_authenticatedTrustedNotChecked_notSetTrustedCookie
( )
requestAuthenticationCode_createNoResponse_returnNull()
공개
메소드
public
requestAuthenticationCode_createNoResponse_returnNull
(
$response
)
requestAuthenticationCode_notAuthenticated_notSetTrustedCookie()
공개
메소드
public
requestAuthenticationCode_notAuthenticated_notSetTrustedCookie
( )
requestAuthenticationCode_responseCreated_returnResponse()
공개
메소드
public
requestAuthenticationCode_responseCreated_returnResponse
( )
requestAuthenticationCode_shouldCheckIfTrustedIsAllowedByContext()
공개
메소드
public
requestAuthenticationCode_shouldCheckIfTrustedIsAllowedByContext
( )
requestAuthenticationCode_trustedOptionNotUsed_setUseTrustedOptionFalse()
공개
메소드
public
requestAuthenticationCode_trustedOptionNotUsed_setUseTrustedOptionFalse
( )
requestAuthenticationCode_trustedOptionUsed_setUseTrustedOptionTrue()
공개
메소드
public
requestAuthenticationCode_trustedOptionUsed_setUseTrustedOptionTrue
( )
setUp()
공개
메소드
public
setUp
( )