PHP 클래스 Neos\Flow\Tests\Unit\Security\Authentication\AuthenticationProviderManagerTest

상속: extends Neos\Flow\Tests\UnitTestCase
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$authenticationProviderManager Neos\Flow\Security\Authentication\AuthenticationProviderManager
$mockSecurityContext Neos\Flow\Security\Context | PHPUnit_Framework_MockObject_MockObject
$mockSession Neos\Flow\Session\SessionInterface | PHPUnit_Framework_MockObject_MockObject

공개 메소드들

메소드 설명
anExceptionIsThrownIfTheConfiguredProviderDoesNotExist ( )
authenticateAuthenticatesOnlyTokensWithStatusAuthenticationNeeded ( )
authenticateDelegatesAuthenticationToTheCorrectProvidersInTheCorrectOrder ( )
authenticateTagsSessionWithAccountIdentifier ( )
authenticateThrowsAnExceptionIfAuthenticateAllTokensIsTrueButATokenCouldNotBeAuthenticated ( )
authenticateThrowsAnExceptionIfNoTokenCouldBeAuthenticated ( )
isAuthenticatedReturnsFalseIfNoTokenIsAuthenticated ( )
isAuthenticatedReturnsFalseIfNoTokenIsAuthenticatedWithStrategyAnyToken ( )
isAuthenticatedReturnsTrueIfAnTokenCouldBeAuthenticated ( )
isAuthenticatedReturnsTrueIfAtLeastOneTokenIsAuthenticated ( )
isAuthenticatedReturnsTrueIfOneTokenIsAuthenticatedWithStrategyAnyToken ( )
logoutDestroysSessionIfStarted ( )
logoutDoesNotDestroySessionIfNotStarted ( )
logoutEmitsLoggedOutSignalBeforeDestroyingSession ( )
logoutRefreshesTokensInSecurityContext ( )
logoutReturnsIfNoAccountIsAuthenticated ( )
logoutSetsTheAuthenticationStatusOfAllActiveAuthenticationTokensToNoCredentialsGiven ( )
noTokensAndProvidersAreBuiltIfTheConfigurationArrayIsEmpty ( )
setUp ( ) Sets up this test case

메소드 상세

anExceptionIsThrownIfTheConfiguredProviderDoesNotExist() 공개 메소드

authenticateAuthenticatesOnlyTokensWithStatusAuthenticationNeeded() 공개 메소드

authenticateDelegatesAuthenticationToTheCorrectProvidersInTheCorrectOrder() 공개 메소드

authenticateTagsSessionWithAccountIdentifier() 공개 메소드

authenticateThrowsAnExceptionIfAuthenticateAllTokensIsTrueButATokenCouldNotBeAuthenticated() 공개 메소드

authenticateThrowsAnExceptionIfNoTokenCouldBeAuthenticated() 공개 메소드

isAuthenticatedReturnsFalseIfNoTokenIsAuthenticated() 공개 메소드

isAuthenticatedReturnsFalseIfNoTokenIsAuthenticatedWithStrategyAnyToken() 공개 메소드

isAuthenticatedReturnsTrueIfAnTokenCouldBeAuthenticated() 공개 메소드

isAuthenticatedReturnsTrueIfAtLeastOneTokenIsAuthenticated() 공개 메소드

isAuthenticatedReturnsTrueIfOneTokenIsAuthenticatedWithStrategyAnyToken() 공개 메소드

logoutDestroysSessionIfStarted() 공개 메소드

logoutDoesNotDestroySessionIfNotStarted() 공개 메소드

logoutEmitsLoggedOutSignalBeforeDestroyingSession() 공개 메소드

logoutRefreshesTokensInSecurityContext() 공개 메소드

logoutReturnsIfNoAccountIsAuthenticated() 공개 메소드

logoutSetsTheAuthenticationStatusOfAllActiveAuthenticationTokensToNoCredentialsGiven() 공개 메소드

noTokensAndProvidersAreBuiltIfTheConfigurationArrayIsEmpty() 공개 메소드

setUp() 공개 메소드

Sets up this test case
public setUp ( )

프로퍼티 상세

$authenticationProviderManager 보호되어 있는 프로퍼티

protected AuthenticationProviderManager,Neos\Flow\Security\Authentication $authenticationProviderManager
리턴 Neos\Flow\Security\Authentication\AuthenticationProviderManager

$mockSecurityContext 보호되어 있는 프로퍼티

protected Context,Neos\Flow\Security|PHPUnit_Framework_MockObject_MockObject $mockSecurityContext
리턴 Neos\Flow\Security\Context | PHPUnit_Framework_MockObject_MockObject

$mockSession 보호되어 있는 프로퍼티

protected SessionInterface,Neos\Flow\Session|PHPUnit_Framework_MockObject_MockObject $mockSession
리턴 Neos\Flow\Session\SessionInterface | PHPUnit_Framework_MockObject_MockObject