PHP Class Neos\Flow\Security\Authentication\Provider\PersistedUsernamePasswordProvider

The accounts are stored in the Content Repository.
Inheritance: extends AbstractProvider
Afficher le fichier Open project: neos/flow-development-collection Class Usage Examples

Protected Properties

Свойство Type Description
$accountRepository Neos\Flow\Security\AccountRepository
$hashService Neos\Flow\Security\Cryptography\HashService
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$securityContext Neos\Flow\Security\Context

Méthodes publiques

Méthode Description
authenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : void Checks the given token for validity and sets the token authentication status accordingly (success, wrong credentials or no credentials given).
getTokenClassNames ( ) : array Returns the class names of the tokens this provider can authenticate.

Method Details

authenticate() public méthode

Checks the given token for validity and sets the token authentication status accordingly (success, wrong credentials or no credentials given).
public authenticate ( Neos\Flow\Security\Authentication\TokenInterface $authenticationToken ) : void
$authenticationToken Neos\Flow\Security\Authentication\TokenInterface The token to be authenticated
Résultat void

getTokenClassNames() public méthode

Returns the class names of the tokens this provider can authenticate.
public getTokenClassNames ( ) : array
Résultat array

Property Details

$accountRepository protected_oe property

protected AccountRepository,Neos\Flow\Security $accountRepository
Résultat Neos\Flow\Security\AccountRepository

$hashService protected_oe property

protected HashService,Neos\Flow\Security\Cryptography $hashService
Résultat Neos\Flow\Security\Cryptography\HashService

$persistenceManager protected_oe property

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
Résultat Neos\Flow\Persistence\PersistenceManagerInterface

$securityContext protected_oe property

protected Context,Neos\Flow\Security $securityContext
Résultat Neos\Flow\Security\Context