src/Authorization/Actions/AuthenticatorAction.php
function authenticator($authenticatorName = self::AUTHENTICATOR_DEFAULT)
    {
        if (!$this->authenticators->has($authenticatorName))
            throw new \Exception(sprintf('Authenticator (%s) Not Registered.', $authenticatorName));

        $authenticator = $this->authenticators->get($authenticatorName);
        return $authenticator;
    }
function authenticator($authenticatorName = self::AUTHENTICATOR_DEFAULT)
    {
        if (!$this->authenticators->has($authenticatorName))
            throw new \Exception(sprintf('Authenticator (%s) Not Registered.', $authenticatorName));

        $authenticator = $this->authenticators->get($authenticatorName);
        return $authenticator;
    }
function authenticator ( $ authenticatorName = self :: AUTHENTICATOR_DEFAULT ) { if ( ! $ this -> authenticators -> has ( $ authenticatorName ) ) throw new \ Exception ( sprintf ( 'Authenticator (%s) Not Registered.' , $ authenticatorName ) ) ; $ authenticator = $ this -> authenticators -> get ( $ authenticatorName ) ; return $ authenticator ; }
Retrieve Registered Authenticator Service By Name

@param string $authenticatorName

@return iAuthenticator|Authenticator
@throws \Exception
Retrieve Registered Authenticator Service By Name