summaryrefslogtreecommitdiff
path: root/services
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
parentadd Google Maps services (diff)
downloadapi-description-c2745083b9475ef7c63a7956e8b6ab0ab907a6cc.tar.gz
add Google OAuth 2.0
Diffstat (limited to '')
-rw-r--r--services/Makefile2
-rw-r--r--services/googleoauth2.json24
-rw-r--r--services/googleoauth2.pngbin0 -> 6265 bytes
3 files changed, 26 insertions, 0 deletions
diff --git a/services/Makefile b/services/Makefile
index 54d72c2..eb54875 100644
--- a/services/Makefile
+++ b/services/Makefile
@@ -9,6 +9,7 @@ check: spore_validation.rx
@$(VALIDATOR) backtype.json
@$(VALIDATOR) github.json
@$(VALIDATOR) googleoauth.json
+ @$(VALIDATOR) googleoauth2.json
@$(VALIDATOR) googlepagespeed.json
@$(VALIDATOR) googleshortener.json
@$(VALIDATOR) googletranslate.json
@@ -27,6 +28,7 @@ png: \
backtype.png \
github.png \
googleoauth.png \
+ googleoauth2.png \
googlepagespeed.png \
googleshortener.png \
googletranslate.png \
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"
+ }
+}
diff --git a/services/googleoauth2.png b/services/googleoauth2.png
new file mode 100644
index 0000000..3de7c96
--- /dev/null
+++ b/services/googleoauth2.png
Binary files differ