Updates the authenticating user's settings.

@param array $parameters
@param bool $multipart
@param bool $appOnlyAuth
@return mixed
775817
public function postAccountSettings(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->post('account/settings', $parameters, $multipart, $appOnlyAuth);
    }
1354801
public function getStatusesHomeTimeline(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('statuses/home_timeline', $parameters, $multipart, $appOnlyAuth);
    }
619750
public function getTrendsClosest(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('trends/closest', $parameters, $multipart, $appOnlyAuth);
    }
149124
public function postReportSpam(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->post('users/report_spam', $parameters, $multipart, $appOnlyAuth);
    }
393549
public function unfollow(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->postFriendshipsDestroy($parameters, $multipart, $appOnlyAuth);
    }
385110
public static base_response update(nitro_service client, aaapreauthenticationparameter resource) throws Exception {
		aaapreauthenticationparameter updateresource = new aaapreauthenticationparameter();
		updateresource.preauthenticationaction = resource.preauthenticationaction;
		updateresource.rule = resource.rule;
		updateresource.killprocess = resource.killprocess;
		updateresource.deletefiles = resource.deletefiles;
		return updateresource.update_resource(client);
	}
341069
public function getSavedSearchesCreate(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->post('saved_searches/create', $parameters, $multipart, $appOnlyAuth);
    }
197481
public function getFriendsList(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('friends/list', $parameters, $multipart, $appOnlyAuth);
    }
804977
public function getFriendshipsIncoming(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('friendships/incoming', $parameters, $multipart, $appOnlyAuth);
    }
983466
def update_params_for_auth!(header_params, query_params, auth_names)
      Array(auth_names).each do |auth_name|
        auth_setting = @config.auth_settings[auth_name]
        next unless auth_setting
        case auth_setting[:in]
        when 'header' then header_params[auth_setting[:key]] = auth_setting[:value]
        when 'query'  then query_params[auth_setting[:key]] = auth_setting[:value]
        else fail ArgumentError, 'Authentication token must be in `query` of `header`'
        end
      end
    end
745307
public function getAccountSettings(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('account/settings', $parameters, $multipart, $appOnlyAuth);
    }
239569
public function getFriendsIds(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('friends/ids', $parameters, $multipart, $appOnlyAuth);
    }
531059
public function update(array $parameters = [])
    {
        json_decode(self::put("/photos/{$this->id}", ['query' => $parameters])->getBody(), true);
        parent::update($parameters);
    }
290333
private function setAuthenticationParametersNoValidation($params = null)
    {
        // Return if authentication property not set
        if ($this->auth == null) {
            return $params;
        }

        // Set parameters for previously configured auth properties
        // Get property list from auth class
        $auth_refl = new \ReflectionClass($this->auth);
        $props = $auth_refl->getProperties(\ReflectionProperty::IS_PUBLIC);

        /*
         * Loop through property names to determine if configured in auth object.
         * Add to parameters if set and does not already exist.
         */
        foreach ($props as $prop) {
            $name = $prop->getName();
            if (isset($this->auth->$name)) {
                // Do not overwrite if parameter already included
                $key = $this->auth->getAuthKeyByVar($name);
                if (!isset($params[$key])) {
                    $params[$key] = $this->auth->$name;
                }
            }
        }

        return $params;
    }
1077377
public void updateParamsForAuth(String[] authNames, List<Pair> queryParams, Map<String, String> headerParams) {
        for (String authName : authNames) {
            Authentication auth = authentications.get(authName);
            if (auth == null) throw new RuntimeException("Authentication undefined: " + authName);
            auth.applyToParams(queryParams, headerParams);
        }
    }
284595
protected function authenticate($url, $method, $parameters = [])
    {
        // Setup authentication.
        if ($this->isSsl()) {
            $basicAuth  = new BasicAuth(
                $this->ch,
                $this->consumerKey,
                $this->consumerSecret,
                $this->options->isQueryStringAuth(),
                $parameters
            );
            $parameters = $basicAuth->getParameters();
        } else {
            $oAuth      = new OAuth(
                $url,
                $this->consumerKey,
                $this->consumerSecret,
                $this->options->getVersion(),
                $method,
                $parameters,
                $this->options->oauthTimestamp()
            );
            $parameters = $oAuth->getParameters();
        }

        return $parameters;
    }
1140666
public function getTrandsAvailable(array $parameters = array(), $multipart = false, $appOnlyAuth = false)
    {
        return $this->get('trends/available', $parameters, $multipart, $appOnlyAuth);
    }