PHP Class Neos\Flow\Tests\Unit\Security\Authentication\Provider\PersistedUsernamePasswordProviderTest

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

Protected Properties

Свойство Type Description
$mockAccount Neos\Flow\Security\Account
$mockAccountRepository Neos\Flow\Security\AccountRepository
$mockHashService Neos\Flow\Security\Cryptography\HashService
$mockPersistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$mockSecurityContext Neos\Flow\Security\Context
$mockToken Neos\Flow\Security\Authentication\Token\UsernamePassword
$persistedUsernamePasswordProvider Neos\Flow\Security\Authentication\Provider\PersistedUsernamePasswordProvider

Méthodes publiques

Méthode Description
authenticatingAnUnsupportedTokenThrowsAnException ( )
authenticatingAnUsernamePasswordTokenChecksIfTheGivenClearTextPasswordMatchesThePersistedHashedPassword ( )
authenticatingAnUsernamePasswordTokenFetchesAccountWithDisabledAuthorization ( )
authenticationFailsWithWrongCredentialsInAnUsernamePasswordToken ( )
canAuthenticateReturnsTrueOnlyForAnTokenThatHasTheCorrectProviderNameSet ( )
setUp ( )

Method Details

authenticatingAnUnsupportedTokenThrowsAnException() public méthode

authenticatingAnUsernamePasswordTokenChecksIfTheGivenClearTextPasswordMatchesThePersistedHashedPassword() public méthode

authenticatingAnUsernamePasswordTokenFetchesAccountWithDisabledAuthorization() public méthode

authenticationFailsWithWrongCredentialsInAnUsernamePasswordToken() public méthode

canAuthenticateReturnsTrueOnlyForAnTokenThatHasTheCorrectProviderNameSet() public méthode

setUp() public méthode

public setUp ( )

Property Details

$mockAccount protected_oe property

protected Account,Neos\Flow\Security $mockAccount
Résultat Neos\Flow\Security\Account

$mockAccountRepository protected_oe property

protected AccountRepository,Neos\Flow\Security $mockAccountRepository
Résultat Neos\Flow\Security\AccountRepository

$mockHashService protected_oe property

protected HashService,Neos\Flow\Security\Cryptography $mockHashService
Résultat Neos\Flow\Security\Cryptography\HashService

$mockPersistenceManager protected_oe property

protected PersistenceManagerInterface,Neos\Flow\Persistence $mockPersistenceManager
Résultat Neos\Flow\Persistence\PersistenceManagerInterface

$mockSecurityContext protected_oe property

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

$mockToken protected_oe property

protected UsernamePassword,Neos\Flow\Security\Authentication\Token $mockToken
Résultat Neos\Flow\Security\Authentication\Token\UsernamePassword

$persistedUsernamePasswordProvider protected_oe property

protected PersistedUsernamePasswordProvider,Neos\Flow\Security\Authentication\Provider $persistedUsernamePasswordProvider
Résultat Neos\Flow\Security\Authentication\Provider\PersistedUsernamePasswordProvider