Has anyone been able to get 2-Legged oAuth working with the DevDefines
library?

http://code.google.com/p/devdefined-tools/

I keep getting a 401


public OAuthSession CreateSession() {
        var consumerContext = new OAuthConsumerContext {
            ConsumerKey = GoogleAPI.OAuthConsumerKey,
            ConsumerSecret = GoogleAPI.OAuthConsumerSecret,
            SignatureMethod = SignatureMethod.HmacSha1
        };

        var session = new OAuthSession(consumerContext, requestUrl,
userAuthorizeUrl, accessUrl);

        return session;
    }



request.Context.QueryParameters.Add("xoauth_requestor_id",
"[email protected]");

            HttpWebResponse results = request.ForUrl("https://
mail.google.com/mail/feed/atom").ToWebResponse();

-- 
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.

Reply via email to