PHP Class Neos\Flow\Tests\Unit\Security\Authentication\Token\UsernamePasswordTest

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

Protected Properties

Свойство Type Description
$mockActionRequest Neos\Flow\Mvc\ActionRequest | PHPUnit_Framework_MockObject_MockObject
$mockHttpRequest Neos\Flow\Http\Request | PHPUnit_Framework_MockObject_MockObject
$token Neos\Flow\Security\Authentication\Token\UsernamePassword

Méthodes publiques

Méthode Description
credentialsAreSetCorrectlyFromPostArguments ( )
setUp ( ) Set up this test case
tokenCanBeCastToString ( )
updateCredentialsIgnoresAnythingOtherThanPostRequests ( )
updateCredentialsSetsTheCorrectAuthenticationStatusIfNewCredentialsArrived ( )

Method Details

credentialsAreSetCorrectlyFromPostArguments() public méthode

setUp() public méthode

Set up this test case
public setUp ( )

tokenCanBeCastToString() public méthode

updateCredentialsIgnoresAnythingOtherThanPostRequests() public méthode

updateCredentialsSetsTheCorrectAuthenticationStatusIfNewCredentialsArrived() public méthode

Property Details

$mockActionRequest protected_oe property

protected ActionRequest,Neos\Flow\Mvc|PHPUnit_Framework_MockObject_MockObject $mockActionRequest
Résultat Neos\Flow\Mvc\ActionRequest | PHPUnit_Framework_MockObject_MockObject

$mockHttpRequest protected_oe property

protected Request,Neos\Flow\Http|PHPUnit_Framework_MockObject_MockObject $mockHttpRequest
Résultat Neos\Flow\Http\Request | PHPUnit_Framework_MockObject_MockObject

$token protected_oe property

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