summaryrefslogtreecommitdiffstats
path: root/google_apis/gaia/gaia_oauth_client.h
Commit message (Collapse)AuthorAgeFilesLines
* Use new people.get api instead of oauth2/v1/userinfo.rogerta@chromium.org2014-04-301-3/+15
| | | | | | | | | | | | | | | | Consolidate all uses into main helper class. Details about new api: https://developers.google.com/+/api/latest/people/get Format of returned response: https://developers.google.com/+/api/latest/people#resource BUG=320354 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267068 Review URL: https://codereview.chromium.org/257773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267374 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of Use new people.get api instead of oauth2/v1/userinfo. ↵machenbach@chromium.org2014-04-301-15/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (https://codereview.chromium.org/257773002/) Reason for revert: [Sheriff]Speculative revert for breaking CrOS: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%282%29/builds/23489 Will reland if it doesn't help. Original issue's description: > Use new people.get api instead of oauth2/v1/userinfo. > Consolidate all uses into main helper class. > > Details about new api: https://developers.google.com/+/api/latest/people/get > > Format of returned response: https://developers.google.com/+/api/latest/people#resource > > BUG=320354 > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267068 TBR=atwilson@chromium.org,noms@chromium.org,guohui@chromium.org,gene@chromium.org,rogerta@chromium.org NOTREECHECKS=true NOTRY=true BUG=320354 Review URL: https://codereview.chromium.org/265563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267114 0039d316-1c4b-4281-b951-d872f2087c98
* Use new people.get api instead of oauth2/v1/userinfo.rogerta@chromium.org2014-04-301-3/+15
| | | | | | | | | | | | | | Consolidate all uses into main helper class. Details about new api: https://developers.google.com/+/api/latest/people/get Format of returned response: https://developers.google.com/+/api/latest/people#resource BUG=320354 Review URL: https://codereview.chromium.org/257773002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267068 0039d316-1c4b-4281-b951-d872f2087c98
* Update uses of Value in extensions/, google_apis/, gpu/, media/, net/, ↵avi@chromium.org2013-12-231-1/+1
| | | | | | | | | | | | printing/, remoting/, rlz/, sync/, ui/ to use the base:: namespace. BUG=88666 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/116433007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242410 0039d316-1c4b-4281-b951-d872f2087c98
* Identity API: Add AccountTracker and attach it to identity.onSignInChangedcourage@chromium.org2013-10-221-0/+10
| | | | | | | | | | | | | | | The AccountTracker class fetches gaia IDs for all accounts signed into Chrome, and calls its observers any time an account is added, removed, or changes sign-in state. The IdentityAPI class observes the AccountTracker and routes the events to listening apps and extensions. BUG=305830 Review URL: https://codereview.chromium.org/30503002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230017 0039d316-1c4b-4281-b951-d872f2087c98
* Better document GaiaOAuthClient via comments and updated method name.davidroche@chromium.org2013-06-261-6/+30
| | | | | | | | BUG= Review URL: https://chromiumcodereview.appspot.com/17696002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208615 0039d316-1c4b-4281-b951-d872f2087c98
* Device robot refresh token integrity validation.davidroche@chromium.org2013-06-221-5/+20
| | | | | | | | | | | | Before using the robot account refresh token stored in an enterprise device's Local State, verify that the token is owned by the service account id found in the device policy. BUG=245121 Review URL: https://chromiumcodereview.appspot.com/17109006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208019 0039d316-1c4b-4281-b951-d872f2087c98
* Update includes of message_loop_proxy.brettw@chromium.org2013-06-101-1/+1
| | | | | | | | | | | This keeps the forwarding header, just updates all current callers. BUG= R=avi@chromium.org Review URL: https://codereview.chromium.org/16514006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205306 0039d316-1c4b-4281-b951-d872f2087c98
* Hide unused constant from public interface.vitalybuka@chromium.org2013-05-081-3/+0
| | | | | | | | | | kGaiaOAuth2Url where used only by Cloud Print code and it was replaced by GaiaUrls. Not it's used only inside of unittest. BUG=236756 Review URL: https://chromiumcodereview.appspot.com/14623017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198930 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetUserInfo() in GaiaOAuthClient.sergeyu@chromium.org2012-10-251-0/+5
| | | | | | | | | The new method allows getting email of the user given an access token. Review URL: https://chromiumcodereview.appspot.com/11226067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164003 0039d316-1c4b-4281-b951-d872f2087c98
* Let GaiaOAuthClient::GetTokensFromAuthCode use any given redirect URL.simonmorris@chromium.org2012-10-021-0/+1
| | | | | | | | | BUG=153453 Review URL: https://chromiumcodereview.appspot.com/11038011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159736 0039d316-1c4b-4281-b951-d872f2087c98
* Moving google_apis and GaiaClient to src/google_apis.joi@chromium.org2012-09-071-0/+74
TBR=mechanicalowners@chromium.org BUG=145584 Review URL: https://chromiumcodereview.appspot.com/10928017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155312 0039d316-1c4b-4281-b951-d872f2087c98