PHP Class PartKeepr\AuthBundle\Security\Authentication\AuthenticationProviderManager
Re-implementation of the Symfony AuthenticationProviderManager to store the authentication provider in
a token property.
ファイルを表示
Open project: partkeepr/PartKeepr
Public Methods
Method |
Description |
|
__construct ( array $providers, boolean $eraseCredentials = true ) |
Constructor. |
|
authenticate ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token ) |
|
|
setEventDispatcher ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) |
|
|
Method Details
__construct()
public method
public __construct ( array $providers, boolean $eraseCredentials = true ) |
$providers |
array |
An array of AuthenticationProviderInterface instances |
$eraseCredentials |
boolean |
Whether to erase credentials after authentication or not |
authenticate()
public method
public authenticate ( Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token ) |
$token |
Symfony\Component\Security\Core\Authentication\Token\TokenInterface |
|
setEventDispatcher()
public method
public setEventDispatcher ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher ) |
$dispatcher |
Symfony\Component\EventDispatcher\EventDispatcherInterface |
|