protected function getAuthenticator($name = 'default')
    {
        $authenticators = $this->authenticators;

        if (isset($authenticators[$name])) {
            return $authenticators[$name];
        }

        throw new LogicException('No valid authenticator found');
    }