示例#1
0
        /// <summary>
        /// Constructs the uri by appending OAuth authorization query string and additional query parameters.
        /// </summary>
        /// <returns></returns>
        protected override string ConstructUri()
        {
            if (this.accessToken == null)
            {
                Environment.ValidateAccessToken();
            }

            var uri = Uri;

            var oAuthQueryString = OAuthHelper.ConstructQueryString(CollectAllParams());

            uri += "?" + oAuthQueryString;

            return(uri);
        }