OpenTween.HttpConnectionOAuthEcho.AppendOAuthInfo C# (CSharp) Method

AppendOAuthInfo() protected method

protected AppendOAuthInfo ( HttpWebRequest webRequest, string>.Dictionary query ) : void
webRequest System.Net.HttpWebRequest
query string>.Dictionary
return void
        protected override void AppendOAuthInfo( HttpWebRequest webRequest, Dictionary< string, string > query)
        {
            webRequest.Headers.Add( "X-Verify-Credentials-Authorization", GetAuthorizationHeader("GET", this._serviceProvider, realm: this._realm.ToString()));
            webRequest.Headers.Add( "X-Auth-Service-Provider", string.Format("{0}://{1}{2}", this._serviceProvider.Scheme, this._serviceProvider.Host, this._serviceProvider.AbsolutePath));
        }