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
파일 보기 프로젝트 열기: sourcefabric/newscoop

보호된 프로퍼티들

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