Sorry if the question I am asking makes nonsense as I am really new to this. :(
I have a project which is already using Hammock for oAuth (version 1.0) authentication. And then I saw your awesome
data caching framework AgFx and I really want to be able to use it within my project.
But the problem I am having is, with Hammock I can easily make a request by using
var request = new RestRequest
Credentials = _credentials,
Path = "/fav.xml",
Method = WebMethod.Post
where I store access token, consumer key, etc. in the _credentials object. And it does its magic for me so I don't need to convert them into the long oauth signature string.
But with AgFx, my understanding is, I need to use WebLoadRequest to request for the data, which looks like this
return new WebLoadRequest(loadContext, new Uri(myUri), "POST", "post-data");
where "post-data" should be the oauth signature string. Then basically I need to throw away what Hammock gives to me and rewrite the code to get the signature.
I just wonder if there's a better way of doing this?
Any help would be much appreciated!!