On 10/13/06, logh...@gmail.com <logh...@gmail.com> wrote:
Hi All,
I've been playing with the fancy pants new gdata interface and one
question I have is how long I can depend on a Auth token being valid
after I do a ClientLogin.
The documentation on ClientLogin says that it will be valid "Determined
by the service" but I didn't see any reference in the blogger docs on
how long that is.
In my informal testing it seems to be at least 24 hours (so far)
Any help?
Auth tokens for Google Accounts will generally be 2 weeks, I believe,
the standard "remember me" duration. Auth tokens for Blogger accounts
are 8 hours.
In general you should not rely on these things. Either be ready to
respond to a token expired at any time, or always get a new token
before doing any batch of operations (i.e.: assume a fairly short
duration).
-- Pete