PHP 클래스 OAuthBundle\Services\AuthenticationSuccessHandler

저자: Alfonso M. García Astorga ([email protected])
상속: implements Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface
파일 보기 프로젝트 열기: alfonsomga/symfony.demo.on.roids

보호된 프로퍼티들

프로퍼티 타입 설명
$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