Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: google_apis/gaia/gaia_urls.cc

Issue 17109006: Device robot refresh token integrity validation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix remoting compile error on windows Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « google_apis/gaia/gaia_urls.h ('k') | remoting/host/setup/host_starter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_urls.cc
diff --git a/google_apis/gaia/gaia_urls.cc b/google_apis/gaia/gaia_urls.cc
index 4cd0be8aaa0f4ee66cfa54c89a6cbb02d4942e00..578205cb09b6d07324bdafa083846e118a32d841 100644
--- a/google_apis/gaia/gaia_urls.cc
+++ b/google_apis/gaia/gaia_urls.cc
@@ -39,6 +39,7 @@ const char kClientOAuthUrlSuffix[] = "/ClientOAuth";
// API calls from www.googleapis.com
const char kOAuth2IssueTokenUrlSuffix[] = "/oauth2/v2/IssueToken";
+const char kOAuth2TokenInfoUrlSuffix[] = "/oauth2/v2/tokeninfo";
const char kOAuthUserInfoUrlSuffix[] = "/oauth2/v1/userinfo";
const char kOAuthWrapBridgeUserInfoScopeUrlSuffix[] = "/auth/userinfo.email";
@@ -117,6 +118,7 @@ GaiaUrls::GaiaUrls() {
kOAuthWrapBridgeUserInfoScopeUrlSuffix;
std::string oauth2_issue_token_url = google_apis_origin_url_ +
kOAuth2IssueTokenUrlSuffix;
+ oauth2_token_info_url_ = google_apis_origin_url_ + kOAuth2TokenInfoUrlSuffix;
std::string oauth_user_info_url = google_apis_origin_url_ +
kOAuthUserInfoUrlSuffix;
@@ -234,6 +236,10 @@ const std::string& GaiaUrls::oauth2_issue_token_url() const {
return oauth2_issue_token_url_;
}
+const std::string& GaiaUrls::oauth2_token_info_url() const {
+ return oauth2_token_info_url_;
+}
+
const std::string& GaiaUrls::oauth2_revoke_url() const {
return oauth2_revoke_url_;
}
« no previous file with comments | « google_apis/gaia/gaia_urls.h ('k') | remoting/host/setup/host_starter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698