On Tue, Nov 18, 2008 at 7:46 PM, Justin <[email protected]> wrote: > > When would I instantiate GoogleService with only the applicationName > versus the one that takes GDataRequestFactory and AuthTokenFactory? > > Current API signatures: > public CalendarService(java.lang.String applicationName) > > public CalendarService(java.lang.String applicationName, > Service.GDataRequestFactory requestFactory, > AuthTokenFactory authTokenFactory) > > Is the latter one just in-case you wish to provide your own > implementations of the two factories?
Pretty much, yes. > In the case where a web app is requesting authorization on behalf of > many users, would you use the constructor that takes the two factories > or the one with one parameter? You can use the one with one parameter without any problems, as far as I know. -- Trevor Johns --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
