PHP Класс Newscoop\NewscoopBundle\Security\Http\Authentication\OAuthSuccessHandler

It sings in to the Symfony frontend firewall and also to the Zend, when signing in via OAuth firewall.
Наследование: extends AbstractAuthenticationHandler
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$authAdapter
$userService

Открытые методы

Метод Описание
__construct ( HttpUtils $httpUtils, array $options, Newscoop\Services\Auth\DoctrineAuthService $authAdapter, UserService $userService ) Constructor
onAuthenticationSuccess ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token ) : Response This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.

Описание методов

__construct() публичный метод

Constructor
public __construct ( HttpUtils $httpUtils, array $options, Newscoop\Services\Auth\DoctrineAuthService $authAdapter, UserService $userService )
$httpUtils Symfony\Component\Security\Http\HttpUtils
$options array
$authAdapter Newscoop\Services\Auth\DoctrineAuthService
$userService UserService

onAuthenticationSuccess() публичный метод

This is called when an interactive authentication attempt succeeds. This is called by authentication listeners inheriting from AbstractAuthenticationListener.
public onAuthenticationSuccess ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token ) : Response
$request Symfony\Component\HttpFoundation\Request
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface
Результат Symfony\Component\HttpFoundation\Response

Описание свойств

$authAdapter защищенное свойство

protected $authAdapter

$userService защищенное свойство

protected $userService