PHP Класс Neos\Flow\Security\Authentication\Token\UsernamePassword

Наследование: extends AbstractToken
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$credentials array The username/password credentials

Открытые методы

Метод Описание
__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.

Описание методов

__toString() публичный Метод

Returns a string representation of the token for logging purposes.
public __toString ( ) : string
Результат string The username credential

updateCredentials() публичный Метод

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
Результат void

Описание свойств

$credentials защищенное свойство

The username/password credentials
protected array $credentials
Результат array