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

Unified Diff: chrome/common/extensions/api/experimental_identity.json

Issue 10178020: Start implementing an auth flow for platform apps to be able to do auth (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 | « chrome/chrome_tests.gypi ('k') | chrome/test/data/extensions/api_test/identity/test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/experimental_identity.json
===================================================================
--- chrome/common/extensions/api/experimental_identity.json (revision 137883)
+++ chrome/common/extensions/api/experimental_identity.json (working copy)
@@ -26,6 +26,34 @@
]
}
]
+ },
+ {
+ "name": "launchWebAuthFlow",
+ "type": "function",
+ "description": "Starts an auth flow at the specified URL.",
+ "parameters": [
+ {
+ "name": "launchInfo",
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "description": "The URL that initiates the auth flow"
+ }
+ }
+ },
+ {
+ "name": "callback",
+ "type": "function",
+ "parameters": [
+ {
+ "name": "reponseUrl",
+ "type": "string",
+ "description": "The URL redirected back to your application"
+ }
+ ]
+ }
+ ]
}
]
}
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/extensions/api_test/identity/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698