English 中文(简体)
Programmatically change gmail status via OAuth or Authsub
原标题:

I would like my application to programmatically update my user s gmail/google talk status on their behalf but I dont want to store their password because of the privacy risk

Does anyone know if/how it is possible to use Oauth or some other form of authentication that does not require password storage.

The Google data api docs I have seen support a range of services but dont seem to support Google Talk/Gmail beyond the Google Contacts api.

The Google Talk API seems to explicitly state that username and password are required but I could be mistaken

If it helps, my application is built on App Engine so I can at least use the built in user class to determine their username and email without storing their password but this doesnt seem to give me access to the user s status

Any tips or pointers to apps/code that seems to accomplish this would be helpful. Thanks!

问题回答

This may not be what you are looking for but it might be a step in the right direction for you.
"the Google Contacts Data API now supports OAuth."
http://groups.google.com/group/oauth/browse_thread/thread/75ee6d973930c791

The post says that "This is our first step towards OAuth enabling all Google Data APIs." And it s quite old so maybe they ll have information about the Gmail API.

Hope it helps.





相关问题
How do I get secure AuthSub session tokens in PHP?

I am using the Google/YouTube APIs to develop web application which needs access to a users YouTube account. Normal unsecure requests work fine and I can upgrade one time tokens to session tokens ...

Syncing google calendar with custom calendar

I am using google calendar API to sync google calendar with our custom calendar. Right now I am trying it with a crude way by asking user if he/she wants to sync their calendar with google or not. If ...

How does one retrieve the email address of a user with GData?

I m trying to use GData to retrieve the email address, real name, and profile URL of the user that just authorized my site using Google OAuth. We know how to request it using Google s OpenID flow, ...

Google Contacts API - No Redirection

I am currently working on Contact Importer web app (in PHP) so I will be able to grab email address from a user s account on Gmail, Yahoo, etc and use them for my own evil purposes. Just kidding, my ...

Invalid Authsub token in Google sites for apps

I do not get any error while trying to access feed content for google sites from application hosted on gmail authenticated account. But I get Token invalid - Invalid AuthSub token. when I try to ...

oauth vs authsub

why do we need authsub when we have oauth?

Programmatically change gmail status via OAuth or Authsub

I would like my application to programmatically update my user s gmail/google talk status on their behalf but I dont want to store their password because of the privacy risk Does anyone know if/how ...

热门标签