private function fetch_credentials() { $key = $this->get_setting('api_key'); $secret = $this->get_setting('api_secret'); return new Credentials($key, $secret); }