src/Security/Security.php
protected function getAuthenticator($name = 'default')
    {
        $authenticators = $this->authenticators;

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

        throw new LogicException('No valid authenticator found');
    }
protected function getAuthenticator($name = 'default')
    {
        $authenticators = $this->authenticators;

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

        throw new LogicException('No valid authenticator found');
    }
protected function getAuthenticator ( $ name = 'default' ) { $ authenticators = $ this -> authenticators ; if ( isset ( $ authenticators [ $ name ] ) ) { return $ authenticators [ $ name ] ; } throw new LogicException ( 'No valid authenticator found' ) ; }
Get the selected authenticator for this request

@param string $name The identifier of the authenticator in your config
@return Authenticator Class name of Authenticator
@throws LogicException
Get the selected authenticator for this request