PHP 클래스 Neos\Flow\Tests\Unit\Security\Authentication\Provider\PersistedUsernamePasswordProviderTest

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

보호된 프로퍼티들

프로퍼티 타입 설명
$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

공개 메소드들

메소드 설명
authenticatingAnUnsupportedTokenThrowsAnException ( )
authenticatingAnUsernamePasswordTokenChecksIfTheGivenClearTextPasswordMatchesThePersistedHashedPassword ( )
authenticatingAnUsernamePasswordTokenFetchesAccountWithDisabledAuthorization ( )
authenticationFailsWithWrongCredentialsInAnUsernamePasswordToken ( )
canAuthenticateReturnsTrueOnlyForAnTokenThatHasTheCorrectProviderNameSet ( )
setUp ( )

메소드 상세

authenticatingAnUnsupportedTokenThrowsAnException() 공개 메소드

authenticatingAnUsernamePasswordTokenChecksIfTheGivenClearTextPasswordMatchesThePersistedHashedPassword() 공개 메소드

authenticatingAnUsernamePasswordTokenFetchesAccountWithDisabledAuthorization() 공개 메소드

authenticationFailsWithWrongCredentialsInAnUsernamePasswordToken() 공개 메소드

canAuthenticateReturnsTrueOnlyForAnTokenThatHasTheCorrectProviderNameSet() 공개 메소드

setUp() 공개 메소드

public setUp ( )

프로퍼티 상세

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

protected Account,Neos\Flow\Security $mockAccount
리턴 Neos\Flow\Security\Account

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

protected AccountRepository,Neos\Flow\Security $mockAccountRepository
리턴 Neos\Flow\Security\AccountRepository

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

protected HashService,Neos\Flow\Security\Cryptography $mockHashService
리턴 Neos\Flow\Security\Cryptography\HashService

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

protected PersistenceManagerInterface,Neos\Flow\Persistence $mockPersistenceManager
리턴 Neos\Flow\Persistence\PersistenceManagerInterface

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

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

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

protected UsernamePassword,Neos\Flow\Security\Authentication\Token $mockToken
리턴 Neos\Flow\Security\Authentication\Token\UsernamePassword

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

protected PersistedUsernamePasswordProvider,Neos\Flow\Security\Authentication\Provider $persistedUsernamePasswordProvider
리턴 Neos\Flow\Security\Authentication\Provider\PersistedUsernamePasswordProvider