2 messages in com.googlegroups.bloggerdevRe: [bloggerDev] How long is a 'Auth'...
FromSent OnAttachments
logh...@gmail.com13 Oct 2006 23:56 
Pete Hopkins ☠16 Oct 2006 11:12 
Subject:Re: [bloggerDev] How long is a 'Auth' valid?
From:Pete Hopkins ☠ (phop@google.com)
Date:10/16/2006 11:12:34 AM
List:com.googlegroups.bloggerdev

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