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

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

Protected Properties

Property Type Description
$accountRepository Neos\Flow\Security\AccountRepository
$hashService Neos\Flow\Security\Cryptography\HashService
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$securityContext Neos\Flow\Security\Context

Public Methods

Method 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 method

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
return void

getTokenClassNames() public method

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

Property Details

$accountRepository protected property

protected AccountRepository,Neos\Flow\Security $accountRepository
return Neos\Flow\Security\AccountRepository

$hashService protected property

protected HashService,Neos\Flow\Security\Cryptography $hashService
return Neos\Flow\Security\Cryptography\HashService

$persistenceManager protected property

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
return Neos\Flow\Persistence\PersistenceManagerInterface

$securityContext protected property

protected Context,Neos\Flow\Security $securityContext
return Neos\Flow\Security\Context