Neos\Flow\Security\Authentication\Controller\AbstractAuthenticationController::authenticateAction PHP Метод

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

If authentication fails, the result of calling the defined $errorMethodName is returned. Note: Usually there is no need to override this action. You should use the according callback methods instead (onAuthenticationSuccess() and onAuthenticationFailure()).
public authenticateAction ( ) : string
Результат string
    public function authenticateAction()
    {
        $authenticationException = null;
        try {
            $this->authenticationManager->authenticate();
        } catch (AuthenticationRequiredException $exception) {
            $authenticationException = $exception;
        }
        if ($this->authenticationManager->isAuthenticated()) {
            $storedRequest = $this->securityContext->getInterceptedRequest();
            if ($storedRequest !== null) {
                $this->securityContext->setInterceptedRequest(null);
            }
            return $this->onAuthenticationSuccess($storedRequest);
        } else {
            $this->onAuthenticationFailure($authenticationException);
            return call_user_func([$this, $this->errorMethodName]);
        }
    }