summaryrefslogtreecommitdiff
path: root/services/googleoauth2.json
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2011-06-07 23:30:18 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2011-06-07 23:30:18 +0200
commitc2745083b9475ef7c63a7956e8b6ab0ab907a6cc (patch)
tree6a4eea5eb711ab2680091b9451cc4d9434c6e14c /services/googleoauth2.json
parentadd Google Maps services (diff)
downloadapi-description-c2745083b9475ef7c63a7956e8b6ab0ab907a6cc.tar.gz
add Google OAuth 2.0
Diffstat (limited to 'services/googleoauth2.json')
-rw-r--r--services/googleoauth2.json24
1 files changed, 24 insertions, 0 deletions
diff --git a/services/googleoauth2.json b/services/googleoauth2.json
new file mode 100644
index 0000000..069fd1f
--- /dev/null
+++ b/services/googleoauth2.json
@@ -0,0 +1,24 @@
+{
+ "base_url" : "https://accounts.google.com/o/oauth2",
+ "version" : "0.1",
+ "name" : "Google OAuth 2.0",
+ "methods" : {
+ "authorize" : {
+ "path" : "/auth",
+ "method" : "GET",
+ "required_params" : [
+ "client_id",
+ "redirect_uri",
+ "response_type",
+ "scope"
+ ],
+ "optional_params" : [
+ "state"
+ ]
+ }
+ },
+ "authority" : "http://github.com/SPORE",
+ "meta" : {
+ "documentation" : "http://code.google.com/apis/accounts/docs/OAuth2.html"
+ }
+}