Neos\Flow\Tests\Behavior\Features\Bootstrap\SecurityOperationsTrait::authenticateAccount PHP Метод

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

Prepares the environment for and conducts an account authentication
protected authenticateAccount ( Account $account ) : void
$account Neos\Flow\Security\Account
Результат void
    protected function authenticateAccount(Security\Account $account)
    {
        $this->testingProvider->setAuthenticationStatus(TokenInterface::AUTHENTICATION_SUCCESSFUL);
        $this->testingProvider->setAccount($account);
        $this->securityContext->clearContext();
        $this->securityContext->setRequest($this->mockActionRequest);
        $this->authenticationManager->authenticate();
    }