Свойство | Type | Description | |
---|---|---|---|
$authenticationManager | |||
$logger | |||
$options | |||
$securityContext |
Méthode | Description | |
---|---|---|
__construct ( Symfony\Component\Security\SecurityContext $securityContext, Symfony\Component\Security\Authentication\AuthenticationManagerInterface $authenticationManager, array $options = [], Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null ) | Constructor. | |
handle ( Symfony\Component\EventDispatcher\Event $event ) | Handles form based authentication. | |
register ( |
Méthode | Description | |
---|---|---|
attemptAuthentication ( |
Performs authentication. | |
determineTargetUrl ( |
Builds the target URL according to the defined options. | |
onFailure ( $kernel, |
||
onSuccess ( |
public __construct ( Symfony\Component\Security\SecurityContext $securityContext, Symfony\Component\Security\Authentication\AuthenticationManagerInterface $authenticationManager, array $options = [], Symfony\Component\HttpKernel\Log\LoggerInterface $logger = null ) | ||
$securityContext | Symfony\Component\Security\SecurityContext | A SecurityContext instance |
$authenticationManager | Symfony\Component\Security\Authentication\AuthenticationManagerInterface | An AuthenticationManagerInterface instance |
$options | array | An array of options |
$logger | Symfony\Component\HttpKernel\Log\LoggerInterface | A LoggerInterface instance |
abstract protected attemptAuthentication ( |
||
$request | A Request instance | |
Résultat | Symfony\Component\Security\Authentication\Token\TokenInterface | The authenticated token, or null if full authentication is not possible |
protected determineTargetUrl ( |
||
$request |
public handle ( Symfony\Component\EventDispatcher\Event $event ) | ||
$event | Symfony\Component\EventDispatcher\Event | An Event instance |
protected onFailure ( $kernel, |
||
$request | ||
$failed | Exception |
protected onSuccess ( |
||
$request | ||
$token | Symfony\Component\Security\Authentication\Token\TokenInterface |