KnpU\OAuth2ClientBundle\Security\Helper\SaveAuthFailureMessage::saveAuthenticationErrorToSession PHP Метод

saveAuthenticationErrorToSession() защищенный Метод

protected saveAuthenticationErrorToSession ( Request $request, Symfony\Component\Security\Core\Exception\AuthenticationException $exception )
$request Symfony\Component\HttpFoundation\Request
$exception Symfony\Component\Security\Core\Exception\AuthenticationException
    protected function saveAuthenticationErrorToSession(Request $request, AuthenticationException $exception)
    {
        $request->getSession()->set(Security::AUTHENTICATION_ERROR, $exception);
    }
SaveAuthFailureMessage