Helper/Config.php
public function getTokenUrl($website = 0)
    {
        if ($this->isAuthorizeCustomDomain($website)) {
            $website = $this->storeManager->getWebsite($website);
            $tokenUrl = $website->getConfig(self::XML_PATH_CONNECTOR_CUSTOM_DOMAIN) .
                self::API_CONNECTOR_OAUTH_URL_TOKEN;
        } else {
            $tokenUrl = $this->getRegionAuthorize($website) . self::API_CONNECTOR_OAUTH_URL_TOKEN;
        }

        return $tokenUrl;
    }
public function getTokenUrl($website = 0)
    {
        if ($this->isAuthorizeCustomDomain($website)) {
            $website = $this->storeManager->getWebsite($website);
            $tokenUrl = $website->getConfig(self::XML_PATH_CONNECTOR_CUSTOM_DOMAIN) .
                self::API_CONNECTOR_OAUTH_URL_TOKEN;
        } else {
            $tokenUrl = $this->getRegionAuthorize($website) . self::API_CONNECTOR_OAUTH_URL_TOKEN;
        }

        return $tokenUrl;
    }
public function getTokenUrl ( $ website = 0 ) { if ( $ this -> isAuthorizeCustomDomain ( $ website ) ) { $ website = $ this -> storeManager -> getWebsite ( $ website ) ; $ tokenUrl = $ website -> getConfig ( self :: XML_PATH_CONNECTOR_CUSTOM_DOMAIN ) . self :: API_CONNECTOR_OAUTH_URL_TOKEN ; } else { $ tokenUrl = $ this -> getRegionAuthorize ( $ website ) . self :: API_CONNECTOR_OAUTH_URL_TOKEN ; } return $ tokenUrl ; }
Token url for OAUTH.

@param int $website

@return string
Token url for OAUTH .