예제 #1
0
        /**
         * @param fetcherConfig configuration options for the fetcher
         * @param fetcher fetcher to use for actually making requests
         * @param trustedParams additional parameters to include in all outgoing OAuth requests, useful
         *     for client data that can't be pulled from the security token but is still trustworthy.
         */

        private OAuthRequest(OAuthFetcherConfig fetcherConfig, IHttpFetcher fetcher,
                             List <OAuth.Parameter> trustedParams)
        {
            this.fetcherConfig = fetcherConfig;
            this.fetcher       = fetcher;
            this.trustedParams = trustedParams;
        }
예제 #2
0
        /**
        * @param fetcherConfig configuration options for the fetcher
        * @param fetcher fetcher to use for actually making requests
        * @param trustedParams additional parameters to include in all outgoing OAuth requests, useful
        *     for client data that can't be pulled from the security token but is still trustworthy.
        */

        private OAuthRequest(OAuthFetcherConfig fetcherConfig, IHttpFetcher fetcher,
                List<OAuth.Parameter> trustedParams) 
        {
            this.fetcherConfig = fetcherConfig;
            this.fetcher = fetcher;
            this.trustedParams = trustedParams;
        }