public function getAuthenticationUrl(
        $action,
        \FACTFinder\Util\Parameters $parameters
    ) {
        $this->ensureChannelParameter($parameters);

        $c = $this->configuration;
        if ($c->isAdvancedAuthenticationType())
            return $this->getAdvancedAuthenticationUrl($action, $parameters);
        else if ($c->isSimpleAuthenticationType())
            return $this->getSimpleAuthenticationUrl($action, $parameters);
        else if ($c->isHttpAuthenticationType())
            return $this->getHttpAuthenticationUrl($action, $parameters);
        else
            throw new \Exception('Invalid authentication type configured.');
    }
public function getAuthenticationUrl(
        $action,
        \FACTFinder\Util\Parameters $parameters
    ) {
        $this->ensureChannelParameter($parameters);

        $c = $this->configuration;
        if ($c->isAdvancedAuthenticationType())
            return $this->getAdvancedAuthenticationUrl($action, $parameters);
        else if ($c->isSimpleAuthenticationType())
            return $this->getSimpleAuthenticationUrl($action, $parameters);
        else if ($c->isHttpAuthenticationType())
            return $this->getHttpAuthenticationUrl($action, $parameters);
        else
            throw new \Exception('Invalid authentication type configured.');
    }
public function getAuthenticationUrl ( $ action , \ FACTFinder \ Util \ Parameters $ parameters ) { $ this -> ensureChannelParameter ( $ parameters ) ; $ c = $ this -> configuration ; if ( $ c -> isAdvancedAuthenticationType ( ) ) return $ this -> getAdvancedAuthenticationUrl ( $ action , $ parameters ) ; else if ( $ c -> isSimpleAuthenticationType ( ) ) return $ this -> getSimpleAuthenticationUrl ( $ action , $ parameters ) ; else if ( $ c -> isHttpAuthenticationType ( ) ) return $ this -> getHttpAuthenticationUrl ( $ action , $ parameters ) ; else throw new \ Exception ( 'Invalid authentication type configured.' ) ; }
Returns a full URL with authentication data. The type of authentication
is determined from the configuration.
Note that this method may set a channel parameter if there is none
already.

@param string $action The action to be targeted on the FACT-Finder
server.
@param FACTFinder\Util\Parameters $parameters The parameters object from
which to build the URL.

@return string The full URL.

@throws Exception if no valid authentication type was configured.
Returns a full URL with authentication data . The type of authentication is determined from the configuration . Note that this method may set a channel parameter if there is none already .