UserAuthenticator
class UserAuthenticator implementsUserAuthenticatorInterface
A decorator that delegates all method calls to the authenticator manager of the current firewall.
Traits
FirewallAwareTrait
Methods
__construct(FirewallMap$firewallMap,ContainerInterface$userAuthenticators,RequestStack$requestStack)
No description
Response|null
authenticateUser(UserInterface$user,AuthenticatorInterface$authenticator,Request$request,array$badges =[])
Convenience method to programmatically login a user and return a Response if any for success.
Details
__construct(FirewallMap$firewallMap,ContainerInterface$userAuthenticators,RequestStack$requestStack)
Response|null
authenticateUser(UserInterface$user,AuthenticatorInterface$authenticator,Request$request,array$badges =[])
Convenience method to programmatically login a user and return a Response if any for success.