PHP 인터페이스 eZ\Publish\Core\MVC\Symfony\Security\Authentication\AuthenticatorInterface

Authenticators are meant to be used to run authentication programmatically, i.e. outside the firewall context.
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 0 사용 예제들

공개 메소드들

메소드 설명
authenticate ( Request $request ) : Symfony\Component\Security\Core\Authentication\Token\TokenInterface Runs authentication against provided request and returns the authenticated security token.
logout ( Request $request ) : Response Performs logout by running configured logout handlers.

메소드 상세

authenticate() 공개 메소드

This method typically does: - The authentication by itself (i.e. matching a user) - User type checks (e.g. check user activation) - Inject authenticated token in the SecurityContext - (optional) Trigger SecurityEvents::INTERACTIVE_LOGIN event
public authenticate ( Request $request ) : Symfony\Component\Security\Core\Authentication\Token\TokenInterface
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\Security\Core\Authentication\Token\TokenInterface

logout() 공개 메소드

Performs logout by running configured logout handlers.
public logout ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response