프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$authenticationManager | |||
$logger | |||
$options | |||
$securityContext |
메소드 | 설명 | |
---|---|---|
__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 ( |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | 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 |