PHP Класс OAuthBundle\Services\AuthenticationSuccessHandler

Автор: Alfonso M. García Astorga ([email protected])
Наследование: implements Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface
Показать файл Открыть проект

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

Свойство Тип Описание
$router Symfony\Bundle\FrameworkBundle\Routing\Router
$security Symfony\Component\Security\Core\Authorization\AuthorizationChecker

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

Метод Описание
__construct ( Symfony\Component\Security\Core\Authorization\AuthorizationChecker $security, Router $router ) AuthenticationSuccessHandler constructor.
onAuthenticationSuccess ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token ) : RedirectResponse

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

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

AuthenticationSuccessHandler constructor.
public __construct ( Symfony\Component\Security\Core\Authorization\AuthorizationChecker $security, Router $router )
$security Symfony\Component\Security\Core\Authorization\AuthorizationChecker
$router Symfony\Bundle\FrameworkBundle\Routing\Router

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

public onAuthenticationSuccess ( Request $request, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token ) : RedirectResponse
$request Symfony\Component\HttpFoundation\Request
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface
Результат Symfony\Component\HttpFoundation\RedirectResponse

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

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

protected Router,Symfony\Bundle\FrameworkBundle\Routing $router
Результат Symfony\Bundle\FrameworkBundle\Routing\Router

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

protected AuthorizationChecker,Symfony\Component\Security\Core\Authorization $security
Результат Symfony\Component\Security\Core\Authorization\AuthorizationChecker