PHP Class Neos\Flow\Tests\Unit\Security\Authentication\AuthenticationProviderManagerTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$authenticationProviderManager Neos\Flow\Security\Authentication\AuthenticationProviderManager
$mockSecurityContext Neos\Flow\Security\Context | PHPUnit_Framework_MockObject_MockObject
$mockSession Neos\Flow\Session\SessionInterface | PHPUnit_Framework_MockObject_MockObject

Méthodes publiques

Méthode Description
anExceptionIsThrownIfTheConfiguredProviderDoesNotExist ( )
authenticateAuthenticatesOnlyTokensWithStatusAuthenticationNeeded ( )
authenticateDelegatesAuthenticationToTheCorrectProvidersInTheCorrectOrder ( )
authenticateTagsSessionWithAccountIdentifier ( )
authenticateThrowsAnExceptionIfAuthenticateAllTokensIsTrueButATokenCouldNotBeAuthenticated ( )
authenticateThrowsAnExceptionIfNoTokenCouldBeAuthenticated ( )
isAuthenticatedReturnsFalseIfNoTokenIsAuthenticated ( )
isAuthenticatedReturnsFalseIfNoTokenIsAuthenticatedWithStrategyAnyToken ( )
isAuthenticatedReturnsTrueIfAnTokenCouldBeAuthenticated ( )
isAuthenticatedReturnsTrueIfAtLeastOneTokenIsAuthenticated ( )
isAuthenticatedReturnsTrueIfOneTokenIsAuthenticatedWithStrategyAnyToken ( )
logoutDestroysSessionIfStarted ( )
logoutDoesNotDestroySessionIfNotStarted ( )
logoutEmitsLoggedOutSignalBeforeDestroyingSession ( )
logoutRefreshesTokensInSecurityContext ( )
logoutReturnsIfNoAccountIsAuthenticated ( )
logoutSetsTheAuthenticationStatusOfAllActiveAuthenticationTokensToNoCredentialsGiven ( )
noTokensAndProvidersAreBuiltIfTheConfigurationArrayIsEmpty ( )
setUp ( ) Sets up this test case

Method Details

anExceptionIsThrownIfTheConfiguredProviderDoesNotExist() public méthode

authenticateAuthenticatesOnlyTokensWithStatusAuthenticationNeeded() public méthode

authenticateDelegatesAuthenticationToTheCorrectProvidersInTheCorrectOrder() public méthode

authenticateTagsSessionWithAccountIdentifier() public méthode

authenticateThrowsAnExceptionIfAuthenticateAllTokensIsTrueButATokenCouldNotBeAuthenticated() public méthode

authenticateThrowsAnExceptionIfNoTokenCouldBeAuthenticated() public méthode

isAuthenticatedReturnsFalseIfNoTokenIsAuthenticated() public méthode

isAuthenticatedReturnsFalseIfNoTokenIsAuthenticatedWithStrategyAnyToken() public méthode

isAuthenticatedReturnsTrueIfAnTokenCouldBeAuthenticated() public méthode

isAuthenticatedReturnsTrueIfAtLeastOneTokenIsAuthenticated() public méthode

isAuthenticatedReturnsTrueIfOneTokenIsAuthenticatedWithStrategyAnyToken() public méthode

logoutDestroysSessionIfStarted() public méthode

logoutDoesNotDestroySessionIfNotStarted() public méthode

logoutEmitsLoggedOutSignalBeforeDestroyingSession() public méthode

logoutRefreshesTokensInSecurityContext() public méthode

logoutReturnsIfNoAccountIsAuthenticated() public méthode

logoutSetsTheAuthenticationStatusOfAllActiveAuthenticationTokensToNoCredentialsGiven() public méthode

noTokensAndProvidersAreBuiltIfTheConfigurationArrayIsEmpty() public méthode

setUp() public méthode

Sets up this test case
public setUp ( )

Property Details

$authenticationProviderManager protected_oe property

protected AuthenticationProviderManager,Neos\Flow\Security\Authentication $authenticationProviderManager
Résultat Neos\Flow\Security\Authentication\AuthenticationProviderManager

$mockSecurityContext protected_oe property

protected Context,Neos\Flow\Security|PHPUnit_Framework_MockObject_MockObject $mockSecurityContext
Résultat Neos\Flow\Security\Context | PHPUnit_Framework_MockObject_MockObject

$mockSession protected_oe property

protected SessionInterface,Neos\Flow\Session|PHPUnit_Framework_MockObject_MockObject $mockSession
Résultat Neos\Flow\Session\SessionInterface | PHPUnit_Framework_MockObject_MockObject