PHP Класс Neos\Flow\Tests\Unit\Security\Authentication\AuthenticationProviderManagerTest

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

Защищенные свойства (Protected)

Свойство Тип Описание
$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