public function __construct(tubepress_spi_http_oauth2_Oauth2ProviderInterface $provider, tubepress_api_options_PersistenceInterface $persistence, tubepress_api_http_RequestParametersInterface $requestParams, tubepress_api_template_TemplatingInterface $templating, tubepress_http_oauth2_impl_util_PersistenceHelper $persistenceHelper, tubepress_api_http_oauth2_Oauth2EnvironmentInterface $oauth2Environment) { parent::__construct('tokenManagement_' . $provider->getName(), $persistence, $requestParams, $templating, 'API Tokens'); $this->_persistenceHelper = $persistenceHelper; $this->_provider = $provider; $this->_oauth2Environment = $oauth2Environment; }
/** * {@inheritdoc} */ public function getUntranslatedDisplayName() { if ($this->_additionalField) { return $this->_additionalField->getUntranslatedDisplayName(); } return parent::getUntranslatedDisplayName(); }
public function __construct(tubepress_spi_http_oauth2_Oauth2ProviderInterface $provider, tubepress_api_options_PersistenceInterface $persistence, tubepress_api_http_RequestParametersInterface $requestParams, tubepress_api_template_TemplatingInterface $templating, tubepress_http_oauth2_impl_util_PersistenceHelper $persistenceHelper, tubepress_api_http_oauth2_Oauth2EnvironmentInterface $oauth2Environment, tubepress_api_translation_TranslatorInterface $translator) { parent::__construct('clientInstructions_' . $provider->getName(), $persistence, $requestParams, $templating, 'Initial Setup'); $this->_persistenceHelper = $persistenceHelper; $this->_provider = $provider; $this->_oauth2Environment = $oauth2Environment; $this->_translator = $translator; }
/** * {@inheritdoc} */ public function getId() { return $this->_multiSourcePrefix . parent::getId(); }
public function __construct(tubepress_spi_http_oauth2_Oauth2ProviderInterface $provider, tubepress_api_options_PersistenceInterface $persistence, tubepress_api_http_RequestParametersInterface $requestParams, tubepress_api_template_TemplatingInterface $templating, tubepress_http_oauth2_impl_util_PersistenceHelper $persistenceHelper) { parent::__construct('clientId_' . $provider->getName(), $persistence, $requestParams, $templating, $provider->getUntranslatedTermForClientId()); $this->_persistenceHelper = $persistenceHelper; $this->_provider = $provider; }
public function __construct($id, tubepress_api_options_PersistenceInterface $persistence, tubepress_api_http_RequestParametersInterface $requestParams, tubepress_api_template_TemplatingInterface $templating, $untranslatedDisplayName = null, $untranslatedDescription = null) { parent::__construct($id, $persistence, $requestParams, $templating, $untranslatedDisplayName, $untranslatedDescription); }