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

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
Index: chrome/common/extensions/api/experimental.identity.json
===================================================================
--- chrome/common/extensions/api/experimental.identity.json (revision 136630)
+++ 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"
+ }
+ ]
+ }
+ ]
}
]
}

Powered by Google App Engine
This is Rietveld 408576698