Hi, Yes you can detect whether a token is still valid by using the getTokenInfo() method from the client library.
getTokenInfo should return a list of information that is relevant to the token, such it's target domain and scope. If you are using the Java client library, you should look at the javadoc for the class com.google.gdata.client.http.AuthSubUtil where getTokenInfo resides. For your second question, you only have one valid token per unique domain and unique user. Hope it helps, Austin On Sat, Mar 29, 2008 at 5:14 AM, Nodirbek <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there any method which helps to identify whether token usable or > not? > Method like > > AuthSubUtill.isUsableToken(token) > > And > Is it possible to have several tokens for one account? like user will > go through google authorization several times not revoking his > existing tokens... > > Thanks... > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
