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

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

public iAmAuthenticatedWithRole ( $roleIdentifier )
    public function iAmAuthenticatedWithRole($roleIdentifier)
    {
        if ($this->isolated === true) {
            $this->callStepInSubProcess(__METHOD__, sprintf(' %s %s', 'string', escapeshellarg($roleIdentifier)));
        } else {
            $this->setupSecurity();
            $this->authenticateRoles(Arrays::trimExplode(',', $roleIdentifier));
        }
    }