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

Unified Diff: google_apis/gaia/gaia_oauth_client.h

Issue 993103002: Add tokeninfo call with token identified by token_handle parameter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 5 years, 9 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 | « no previous file | google_apis/gaia/gaia_oauth_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_oauth_client.h
diff --git a/google_apis/gaia/gaia_oauth_client.h b/google_apis/gaia/gaia_oauth_client.h
index 68eb7665bcd1bdba3ecd7402988e293518db759f..e3ecd0dafc59e7b6bf2fe801ad63c334a4a3c87c 100644
--- a/google_apis/gaia/gaia_oauth_client.h
+++ b/google_apis/gaia/gaia_oauth_client.h
@@ -128,6 +128,14 @@ class GaiaOAuthClient {
int max_retries,
Delegate* delegate);
+ // Call the tokeninfo API for given |token_handle|, returning a dictionary of
+ // response values. Basic results will be returned via
+ // |OnGetTokenInfoResponse| call: audience, expires_in, user_id. See
+ // |max_retries| docs above.
+ void GetTokenHandleInfo(const std::string& token_handle,
+ int max_retries,
+ Delegate* delegate);
+
private:
// The guts of the implementation live in this class.
class Core;
« no previous file with comments | « no previous file | google_apis/gaia/gaia_oauth_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698