[google-appengine] OpenID+OAuth+MarketPlace
Hi, How i can get secret key with any domain in marketplace , e.g : Consumer pay to get my application , send to application your domainm, and the next stop is autentication account with admin , to get secret key and insert in application. P.s : I already can use the marketplace, but secret key manually by setting the app, wondered how to retrieve it automatically. thanks -- *Felipe Teixeira* *Desenvolvedor Java * IPNET - Soluções em Informática Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] OpenID+OAuth+MarketPlace
Yes I know that part, thanks your help =D.. But the problem is the following. How to install automatically and get the token ( i can install application but before i need set the consumer key and cosumer secret manual way in web.xml. for example: public void init(ServletConfig config) throws ServletException { super.init(config); String consumerKey = getInitParameter("consumer_key"); <<<<<<<- HEREE 1->>>>>>>>>>>>> String consumerSecret = getInitParameter("consumer_secret"); <<<<<<<- HEREE 2 ->>>>>>>>>>>>> novoLog = Logger.getLogger(CalendarServlet.class.getName()); novoLog.warning(consumerKey); novoLog.warning(consumerSecret); GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters(); oauthParameters.setOAuthConsumerKey(consumerKey); oauthParameters.setOAuthConsumerSecret(consumerSecret); oauthParameters.setScope("https://www.google.com/calendar/feeds/";); calendarService = new CalendarService("marketplace-hello"); try { calendarService.setOAuthCredentials(oauthParameters, new OAuthHmacSha1Signer()); CalendarEntry calendar = new CalendarEntry(); calendar.setTitle(new PlainTextConstruct("Little League Schedule")); calendar.setSummary(new PlainTextConstruct("This calendar contains the practice schedule and game times.")); calendar.setTimeZone(new TimeZoneProperty("America/Los_Angeles")); calendar.setHidden(HiddenProperty.FALSE); calendar.setColor(new ColorProperty("#2952A3")); calendar.addLocation(new Where("","","Oakland")); //calendar.servico(); HERE 1 - >> consumer_key appsdomaintests.com HERE 2 ->> consumer_secret AaAaAaAaAaAa1a2A3a4A5a <<<--- GET automatically is possible ? I had to manually set those strings to run the same application in the market place ... to buy the application I am not able to get the token from the domain, anyone know a manual way to do it? or can someone help? Thanks. 2011/4/25 Gopal Patel > the key you get when testing oauth is different from what you will get for > a > approved app for google apps. > > and that same key can be used for all application that are installed > my their respective > domain admin. > > On Mon, Apr 25, 2011 at 6:09 PM, Felipe Teixeira > wrote: > > Hi, > > > > How i can get secret key with any domain in marketplace , > > > > e.g : Consumer pay to get my application , send to application your > domainm, > > and the next stop is autentication > > > > account with admin , to get secret key and insert in application. > > > > > > P.s : I already can use the marketplace, but secret key manually by > setting > > the app, wondered how to retrieve it automatically. > > > > > > thanks > > > > -- > > Felipe Teixeira > > Desenvolvedor Java > > IPNET - Soluções em Informática > > Tel.: 55 21 3553 2717 / 21-7805-6867 > > Rua Visconde de Inhaúma, 134, Sala 615 > > Centro - RJ - CEP: 20091-007 > > http://www.ipnetsolucoes.com.br > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to google-appengine@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/google-appengine?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- *Felipe Teixeira* *Desenvolvedor Java * IPNET - Soluções em Informática Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Deploying jsps
Hi brother, You need edit your JRE default in eclipse , to JRE in your JDK... In your eclipse, select your project , go to properties, select java runtime /java build select libraries , and JRE library , select and click in edit, select browse, and select your JRE ine.g : C:\jdk1.6_0_22\jre , and remove your JRE default and add the new JRE (jdk source), +f5 in your project ... 2011/5/8 Phil McDonnell <> > I'm on windows. Any help you can lend on the configuration of this would be > much appreciated! > > Thanks, > Phil > > > On Sun, May 8, 2011 at 12:24 PM, supercobra wrote: > >> I had the same problem. On Windows I just kept the JDK and removed the >> JRE. On Linux I had to install a JDK package that was missing. What OS >> do you use? >> >> >> -- superco...@gmail.com >> http://supercobrablogger.blogspot.com/ >> >> >> >> On Sun, May 8, 2011 at 9:32 AM, Phil McDonnell >> wrote: >> > I'm deploying my project which contains some jsps. It compiles and runs >> > fine locally. I set it up locally with the jdk instead of the jre to >> get >> > the jsps to compile locally. When I go to deploy my project through >> eclipse >> > it says that the jsps won't compile for the deploy >> > I assume that it is linking to the jre still for the deploy instead of >> the >> > jdk. Does anyone know how to fix this? >> > >> > Error message in eclipse: Unable to update app: Failed to compile jsp >> files. >> > >> > Thanks so much, >> > Phil >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "Google App Engine" group. >> > To post to this group, send email to google-appengine@googlegroups.com. >> > To unsubscribe from this group, send email to >> > google-appengine+unsubscr...@googlegroups.com. >> > For more options, visit this group at >> > http://groups.google.com/group/google-appengine?hl=en. >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine" group. >> To post to this group, send email to google-appengine@googlegroups.com. >> To unsubscribe from this group, send email to >> google-appengine+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/google-appengine?hl=en. >> >> > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- *Felipe Teixeira* *Desenvolvedor Java * IPNET - Soluções em Informática Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Upload file from local filesystem to google docs
You dont have permission to read files in root, you need config you OS. see you 2011/6/28 sht9001 > Hello , > > I need help to upload file on Google docs. > > I am developing simple web application in java which is hosted on app > engine. I have done authorization using authsub protocol to access > private feeds on google docs.For all this I have used document list > API. > > Now I want to upload file from my local filesystem( /root/test.txt ) > to google docs through this web application but it throws me Security > exception. > > java.security.AccessControlException: access denied > (java.io.FilePermission /root/test.txt read) > > when i tried to upload file "web-inf/test.txt",it uploaded > successfully. > > Does anyone know about this, why this happens?? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- *Felipe Teixeira* *Desenvolvedor Java * IPNET Soluções Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br** * ** * * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Static SQLite files
You need use your SQLite in DataStore , use the api objectify its very simple. bye 2011/7/18 Jim Cipar > I'm trying to write an app that has to handle somewhat complex queries > to a never (or very rarely) changing data set. Right now I have a > static .csv file that my app reads, parses, and returns results from. > This solution isn't really ideal though, I would much rather have a > read-only SQLite file that the app can read, so that I can make use of > all of the good things that come with using a database (indices, > complex queries, performance ...). > > It seems like App Engine refuses to load the sqlite3 python module, > even if I don't try to open a file for writing. Is there some > workaround to get read-only SQLite access in App Engine? > > I can't imagine I'm the first person who's wanted to do this, but > everything I've found has been about people using SQLite as a local > store for the App Engine development kit, or wanting to use SQLite as > a read-write datastore. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- *Felipe Teixeira* *Desenvolvedor Java * IPNET Soluções Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br** * ** * * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] [OAuth + Provisioning ] Autentication - Python X Java
Hi, I need help to use Provisioning API with OAuth authentication, the following problem occurs, how to do domain validation in java api ? In Python it is possible to know the following code. service = gdata.apps.service.AppsService(domain=consumer_key) *->*service.SetOAuthInputParameters(sig_method, consumer_key, consumer_secret=consumer_secret, two_legged_oauth=True) res = service.RetrieveAllUsers() for entry in res.entry: print 'email;' + string.lower(entry.login.user_name) + '@' + consumer_key the emphasis on the coding can be seen that there is validation for key parametersusing OAuth authentication as CONSUMER_KEY and CONSUMER_SECRET, but inJava this is not possible .. As shown below: AppsForYourDomainClient client = new AppsForYourDomainClient(adminEmail, adminPassword, domain); //JavaCode Api - AppsForYourDomain how can I get something close to in java: AppsForYourDomainClient client = null; // client.SetOAuthInputParameters(sig_method, consumer_key, consumer_secret); //this method does not exist today in the api Thanks... -- *Felipe Teixeira* *Desenvolvedor Java * IPNET Soluções Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br** * * * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] [OAuth + Provisioning ] Autentication - Python X Java
> Hi, > I need help to use Provisioning API with OAuth authentication, the > following problem occurs, how to do domain validation in java api ? In > Python it is possible to know the following code. > > service = gdata.apps.service.AppsService(domain=consumer_key) > *->*service.SetOAuthInputParameters(sig_method, consumer_key, > consumer_secret=consumer_secret, two_legged_oauth=True) > > res = service.RetrieveAllUsers() > for entry in res.entry: > print 'email;' + string.lower(entry.login.user_name) + '@' + > consumer_key > > the emphasis on the coding can be seen that there is validation for key > parametersusing OAuth authentication as CONSUMER_KEY and CONSUMER_SECRET, > but inJava this is not possible .. > As shown below: > > AppsForYourDomainClient client = new AppsForYourDomainClient (adminEmail, > adminPassword, domain); //JavaCode Api - AppsForYourDomain > > how can I get something close to in java: > > AppsForYourDomainClient client = null; // > client.SetOAuthInputParameters(sig_method, consumer_key, consumer_secret); > //this method does not exist today in the api java > > > > Thanks... > > > -- > *Felipe Teixeira* > *Desenvolvedor Java > * > IPNET Soluções > Tel.: 55 21 3553 2717 / 21-7805-6867 > Rua Visconde de Inhaúma, 134, Sala 615 > Centro - RJ - CEP: 20091-007 > *http://www.ipnetsolucoes.com.br** * > > * > * > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] [OAuth + Provisioning ] Autentication - Python X Java
Hi, I need help to use Provisioning API with OAuth authentication, the following problem occurs, how to do domain validation in java api ? In Python it is possible to know the following code. service = gdata.apps.service.AppsService(domain=consumer_key) *->*service.SetOAuthInputParameters(sig_method, consumer_key, consumer_secret=consumer_secret, two_legged_oauth=True) res = service.RetrieveAllUsers() for entry in res.entry: print 'email;' + string.lower(entry.login.user_name) + '@' + consumer_key the emphasis on the coding can be seen that there is validation for key parametersusing OAuth authentication as CONSUMER_KEY and CONSUMER_SECRET, but inJava this is not possible .. As shown below: AppsForYourDomainClient client = new AppsForYourDomainClient (adminEmail, adminPassword, domain); //JavaCode Api - AppsForYourDomain how can I get something close to in java: AppsForYourDomainClient client = null; // client.SetOAuthInputParameters(sig_method, consumer_key, consumer_secret); //this method does not exist today in the api java Thanks... -- *Felipe Teixeira* *Desenvolvedor Java * IPNET Soluções Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br** * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Mail API Calls Quota
enable your billing settings in app, and your cota will increase to 7000 calls. 2011/8/10, Vadim : > Hi. > > There are two mismatched informations about daily quota for Mail API > Calls: > > 1. At the quotas page (http://code.google.com/appengine/docs/ > quotas.html): > Free Default Quota for "Mail API Calls" is 7,000 calls (Daily Limit). > > 2. But at Quota Details page for my app: > "Mail API Calls" quota is only 100 calls available per day. > > The same mismatching is for "Recipients Emailed": 2,000 at quotas > page and 100 at my app quota details page. > > What is wrong? Maybe I don't understand something? > > Thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- *Felipe Teixeira* *Desenvolvedor Java * IPNET Soluções Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br** * ** * * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] Premier Accounts
I have a question too, and trying contact too , but I'm not getting answers About Quotas , with Premier Account i have increase in my quota in apps ?? thanks 2011/12/8 Felippe Bueno > Hello all, > > I'm trying to contact appengine_premier_reque...@google.com, but I'm not > getting answers any more. > > So, I was wondering if some of you could help me with my doubts. > > """ > Hi, > > I have 3 differents domains. Could I setup only one premier account > for all my apps ? > I have 4 apps, and only 3 of them use domains. The rest uses > .appspot.com domain. How to proceed in this situation ? > """ > > > Thanks a lot :) > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- *Felipe Teixeira* *Coordenador de Desenvolvimento * IPNET Soluções Tel.: 55 21 3553 2717 / 21- 93302489 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br** * SCJP - Sun Certified Java Programmer SCJA - Sun Certified Java Associate * * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] GAE and Google Cloud SQL... Which quota will be consumed?
In your Google Api Console. https://code.google.com/apis/console/b/0/?pli=1#project:794684431679 2012/1/10 Leandro Rezende > Which quota will be used when Read/Write on Google Cloud SQL? The same as > from DataStore Read/Write Operations? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- *Felipe Teixeira* *Coordenador de Desenvolvimento * IPNET Soluções Tel.: 55 21 3553 2717 / 21- 93302489 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br** * SCJP - Sun Certified Java Programmer SCJA - Sun Certified Java Associate * * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] UserSettings + Other API Google
Hi, anyone have an example of an Api UserService with google for example CalendarService I can not use in any way, nor with AuthSub or OAuth, etcss ... Thanks -- *Felipe Teixeira* *Desenvolvedor Java * IPNET - Soluções em Informática Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] UserSettings + Other API Google
Yeah, it´s, But only autentication to single user, but how i can autenticate one Service , e.g : UserService object = new UserService("bla"); //autentication object // ContactsService conService = new ContactsService("bla2"); conService.( what to do now? ) //to use conService ?? Thanks 2011/4/15 Wim den Ouden > You mean this? > http://code.google.com/apis/calendar/data/2.0/developers_guide_python.html(version > 2 is important) > > 2011/4/15 Felipe Teixeira > >> >> Hi, >> >> anyone have an example of an Api UserService with google for example >> CalendarService >> >> I can not use in any way, nor with AuthSub or OAuth, etcss ... >> >> Thanks >> >> >> -- >> *Felipe Teixeira* >> *Desenvolvedor Java >> * >> IPNET - Soluções em Informática >> Tel.: 55 21 3553 2717 / 21-7805-6867 >> Rua Visconde de Inhaúma, 134, Sala 615 >> Centro - RJ - CEP: 20091-007 >> *http://www.ipnetsolucoes.com.br * >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine" group. >> To post to this group, send email to google-appengine@googlegroups.com. >> To unsubscribe from this group, send email to >> google-appengine+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/google-appengine?hl=en. >> > > > > -- > Gr, > Wim den Ouden <https://profiles.google.com/wdenouden>, > Offline > webapps<http://code.google.com/p/relat/wiki/gaetips?ts=1302769343&updated=gaetips#Offline_webapps>developer > based on > Javascript <https://developer.mozilla.org/en/javascript>, > Html<http://en.wikipedia.org/wiki/HTML5>, > Css <http://en.wikipedia.org/wiki/CSS>, Python <http://www.python.org/>, > Json <http://json.org/>, Google app > engine<http://code.google.com/intl/nl/appengine/>, > and other servers. > Buuring <http://buuring.appspot.com>, developer > tips<http://code.google.com/p/relat/wiki/gaetips> > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- *Felipe Teixeira* *Desenvolvedor Java * IPNET - Soluções em Informática Tel.: 55 21 3553 2717 / 21-7805-6867 Rua Visconde de Inhaúma, 134, Sala 615 Centro - RJ - CEP: 20091-007 *http://www.ipnetsolucoes.com.br * -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
Re: [google-appengine] UserSettings + Other API Google
Yeah, it Work, But my question is : How get this information of domain that is not on my responsibility. e.g : i want buy this application, and the activation in my domain is automatic. ( the app get secret key and consumer key of any domain, offcourse, after autentication the admin of domain) 2011/4/15 Wim den Ouden > http://code.google.com/p/google-api-python-client/wiki/OAuth2 > > > 2011/4/15 Felipe Teixeira > >> Yeah, >> >> I can autenticate in domain example.com and use users of this domain, >> >> but how i can get the secret key of domain to autenticate one application >> to any domain., >> >> >> >> ? >> >> thanks >> >> >> 2011/4/15 Wim den Ouden >> >>> If your application supports multiple user accounts, you must keep track >>> of which account each token is associated with. Each OAuth token is specific >>> to the user who authorized access. Your application must be able to >>> associate a token with the correct user. One way to manage this is to issue >>> a cookie to the user before making the token request. After the user grants >>> access to the requested data, Google sends an authorized request token and >>> redirects the user to your application. You can then use your application's >>> cookie to associate the token with the correct user. >>> >>> 2011/4/15 Felipe Teixeira >>> >>>> Yeah, it´s, >>>> >>>> But only autentication to single user, >>>> >>>> but how i can autenticate one Service , e.g : >>>> >>>> >>>> UserService object = new UserService("bla"); >>>> >>>> //autentication object >>>> // >>>> >>>> ContactsService conService = new ContactsService("bla2"); >>>> >>>> conService.( what to do now? ) >>>> >>>> //to use conService ?? >>>> >>>> >>>> Thanks >>>> >>>> 2011/4/15 Wim den Ouden >>>> >>>>> You mean this? >>>>> http://code.google.com/apis/calendar/data/2.0/developers_guide_python.html(version >>>>> 2 is important) >>>>> >>>>> 2011/4/15 Felipe Teixeira >>>>> >>>>>> >>>>>> Hi, >>>>>> >>>>>> anyone have an example of an Api UserService with google for example >>>>>> CalendarService >>>>>> >>>>>> I can not use in any way, nor with AuthSub or OAuth, etcss ... >>>>>> >>>>>> Thanks >>>>>> >>>>>> >>>>>> -- >>>>>> *Felipe Teixeira* >>>>>> *Desenvolvedor Java >>>>>> * >>>>>> IPNET - Soluções em Informática >>>>>> Tel.: 55 21 3553 2717 / 21-7805-6867 >>>>>> Rua Visconde de Inhaúma, 134, Sala 615 >>>>>> Centro - RJ - CEP: 20091-007 >>>>>> *http://www.ipnetsolucoes.com.br * >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Google App Engine" group. >>>>>> To post to this group, send email to >>>>>> google-appengine@googlegroups.com. >>>>>> To unsubscribe from this group, send email to >>>>>> google-appengine+unsubscr...@googlegroups.com. >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/group/google-appengine?hl=en. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Gr, >>>>> Wim den Ouden <https://profiles.google.com/wdenouden>, >>>>> Offline >>>>> webapps<http://code.google.com/p/relat/wiki/gaetips?ts=1302769343&updated=gaetips#Offline_webapps>developer >>>>> based on >>>>> Javascript <https://developer.mozilla.org/en/javascript>, >>>>> Html<http://en.wikipedia.org/wiki/HTML5>, >>>>> Css <http://en.wikipedia.org/wiki/CSS>, Python<http://www.python.org/>, >>>>> Json <http://json.org/>, Google app >>>>> engine<http://code.google.com/intl/nl/appengine/>, >>>>> and other servers. >>>>> Buuring <http://buuring.appspot.com>, developer >>>>