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

Inheritance: extends AbstractToken
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$credentials array The username/password credentials

Méthodes publiques

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

Method Details

__toString() public méthode

Returns a string representation of the token for logging purposes.
public __toString ( ) : string
Résultat string The username credential

updateCredentials() public méthode

Note: You need to send the username and password in these two POST parameters: __authentication[TYPO3][Flow][Security][Authentication][Token][UsernamePassword][username] and __authentication[TYPO3][Flow][Security][Authentication][Token][UsernamePassword][password]
public updateCredentials ( ActionRequest $actionRequest ) : void
$actionRequest Neos\Flow\Mvc\ActionRequest The current action request
Résultat void

Property Details

$credentials protected_oe property

The username/password credentials
protected array $credentials
Résultat array