PHP Class Neos\Flow\Security\Authentication\Token\PasswordToken

Inheritance: extends AbstractToken
Datei anzeigen Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Property Type Description
$credentials array The password credentials
$environment Neos\Flow\Utility\Environment

Public Methods

Method Description
__toString ( ) : string Returns a string representation of the token for logging purposes.
updateCredentials ( ActionRequest $actionRequest ) : void Updates the password credential from the POST vars, if the POST parameters are available. Sets the authentication status to AUTHENTICATION_NEEDED, if credentials have been sent.

Method Details

__toString() public method

Returns a string representation of the token for logging purposes.
public __toString ( ) : string
return string

updateCredentials() public method

Note: You need to send the password in this POST parameter: __authentication[TYPO3][Flow][Security][Authentication][Token][PasswordToken][password]
public updateCredentials ( ActionRequest $actionRequest ) : void
$actionRequest Neos\Flow\Mvc\ActionRequest The current action request
return void

Property Details

$credentials protected_oe property

The password credentials
protected array $credentials
return array

$environment protected_oe property

protected Environment,Neos\Flow\Utility $environment
return Neos\Flow\Utility\Environment