Hmm, I don't know if using a ClientLogin token will ultimately work
for you.

>From http://code.google.com/apis/gdata/auth.html#ClientLogin :
"The token remains valid for a set length of time, defined by
whichever Google service you're working with."

Can you tell from what you saw on your screen how long the token
lasts? If it's only a little while you'll have to get a new one
periodically. AuthSub session tokens apparently never expire.

We may be getting into a "blind leading the blind" kind of situation
here because I haven't programmed this yet, I've just read the docs.
But I need to solve the same problem you do, so I'm eager to find out
how it works. keep me posted!

On Nov 24, 10:13 am, "Dr. Dot" <[EMAIL PROTECTED]> wrote:
> Hey thanks Oliver.
>
> I just created a simple little html form's doc and submitted. I got
> the Auth token back on screen.
>
> So if I understand what you are saying, I can just copy and paste that
> token into my app as the token going forward and I will always be able
> to integrate to my Google Calendar? If that's the case, it would be
> great if the Google Doc just spelled it out that this was a one-time
> action that you do in order to obtain the token that you ultimately
> embed into your Web App. BTW, I ended up using the Client Login method
> to obtain my token. I didn't realize it was that easy to do.
>
> Now I need to move into connecting to my specific calendar and coding
> the updates.
>
> Thanks Oliver!
>
> On Nov 24, 12:28 pm, Oliver <[EMAIL PROTECTED]> wrote:
>
> > I'm no expert and I didn't really understand Ray's reply, but I
> > thought you could use AuthSub with a session token. You just have to
> > store the session token on your server so that the web-app can use it.
>
> > Fromhttp://code.google.com/apis/accounts/docs/AuthSub.html#tokenmgmt
>
> > "...a session token lets the application make unlimited calls to the
> > Google service. Session tokens do not expire. When using session
> > tokens, your application should store the session token for each user
> > rather than requesting a new one each time it needs to access a Google
> > service."
>
> > So you would only have to manually log in once. Then your app keeps
> > the token and can reuse it indefinitely.
>
> > At least that's how I interpret it. I don't think signing out of
> > google invalidates the session tokens.
>
> > O

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" 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/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to