PHP Класс Neos\Flow\Security\Authentication\Provider\FileBasedSimpleKeyProvider
The passwords are stored as encrypted files in persisted data and
are fetched using the file based simple key service.
The roles set in authenticateRoles will be added to the authenticated
token, but will not be persisted in the database as this provider is
used for situations in which no database connection might be present.
= Example =
Neos:
Flow:
security:
authentication:
providers:
AdminInterfaceProvider:
provider: FileBasedSimpleKeyProvider
providerOptions:
keyName: AdminKey
authenticateRoles: ['TYPO3.Flow.SomeRole']
Показать файл
Открыть проект
Примеры использования класса
Защищенные свойства (Protected)
Открытые методы
Метод |
Описание |
|
authenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : void |
Sets isAuthenticated to TRUE for all tokens. |
|
getTokenClassNames ( ) : array |
Returns the class names of the tokens this provider can authenticate. |
|
Описание методов
authenticate()
публичный Метод
Sets isAuthenticated to TRUE for all tokens.
public authenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : void |
$authenticationToken |
Neos\Flow\Security\Authentication\TokenInterface |
The token to be authenticated |
Результат |
void |
|
getTokenClassNames()
публичный Метод
Returns the class names of the tokens this provider can authenticate.
Описание свойств
$fileBasedSimpleKeyService защищенное свойство
protected FileBasedSimpleKeyService,Neos\Flow\Security\Cryptography $fileBasedSimpleKeyService |
Результат |
Neos\Flow\Security\Cryptography\FileBasedSimpleKeyService |
|
$hashService защищенное свойство
protected HashService,Neos\Flow\Security\Cryptography $hashService |
Результат |
Neos\Flow\Security\Cryptography\HashService |
|
$policyService защищенное свойство
protected PolicyService,Neos\Flow\Security\Policy $policyService |
Результат |
Neos\Flow\Security\Policy\PolicyService |
|