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

The accounts are stored in the Content Repository.
Inheritance: extends AbstractProvider
Exibir arquivo 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_oe property

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

$hashService protected_oe property

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

$persistenceManager protected_oe property

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

$securityContext protected_oe property

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