if it's true as what you said for base string, then the sample of C# code on oauth.net is incorrect then.
find this line: public string GenerateSignatureBase(Uri url, string consumerKey, string token, string tokenSecret, string httpMethod, string timeStamp, string nonce, string signatureType, out string normalizedUrl, out string normalizedRequestParameters) this method only adds following parameters for base string. Can someone clarify? thanks. List<QueryParameter> parameters = GetQueryParameters(url.Query); parameters.Add(new QueryParameter(OAuthVersionKey, OAuthVersion)); parameters.Add(new QueryParameter(OAuthNonceKey, nonce)); parameters.Add(new QueryParameter(OAuthTimestampKey, timeStamp)); parameters.Add(new QueryParameter(OAuthSignatureMethodKey, signatureType)); parameters.Add(new QueryParameter(OAuthConsumerKeyKey, consumerKey)); Sincerely, Kelvin Kao On Fri, Jun 26, 2009 at 11:11 AM, Manish Pandit <[email protected]>wrote: > > > > On Jun 26, 10:12 am, Kelvin Kao <[email protected]> wrote: > > Can we assume if there is any oauth_ reserved parameters, the service > > provider has to take in as consideration as base string? thx > > > > Sincerely, > > > > Kelvin Kao > > > > Every request has a set of required oauth parameters - you should be > rejecting the request as a provider if the request does not contain > the required params. Again, this varies with the request type (getRT, > getAT, authorizeToken, access resources). The base string should take > into account all the parameters (oauth or not) to construct the > normalized parameter string. I'd recommend you go through signature > section of the Editor's Cut of the spec which goes over the signing > process in great depth. > > -cheers, > Manish > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
