public void Authenticate(HttpWebRequest request, byte[] body) { string oauthHeader = OAuthUtilities.GenerateHeaderForPearson(request.RequestUri, request.Method, body, applicationId, consumerKey, consumerSecret); request.Headers.Add("X-Authorization", oauthHeader); }