Open GoogleCodeExporter opened 9 years ago
You could explicitly set the timestamp of the authentication object rather than
add another ivar.
I suspect it would be better just to ask users to fix the clock on their device.
If you are using only the OAuth portions of the library, the newer library at
http://code.google.com/p/gtm-oauth/ would be a better alternative to the OAuth
controller in the GData library.
Original comment by grobb...@google.com
on 3 Dec 2010 at 12:39
I wasn't aware of gtm-oauth -- that does sound like the better way to go.
Still, I think having an offset parameter in the authentication instance is the
logical place to put it, API wise, rather than having the application code set
the timestamp before each request. I had noticed that the timestamp property
is documented as being for testing purposes. And, apparently, it's quite
common for people to set their mobile phone clocks a few minutes early in a
surely futile attempt to be on time ;)
I can move this discussion over to gtm-oauth, or I'm ok with closing the issue
if you think timestamp offsets should be the responsibility of the client
application code.
Original comment by danieldickison@gmail.com
on 3 Dec 2010 at 12:56
Original issue reported on code.google.com by
danieldickison@gmail.com
on 3 Dec 2010 at 12:20Attachments: