Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (63 sloc) 1.67 KB
{
"base_url" : "https://www.google.com/accounts",
"name" : "Google OAuth 1.0",
"methods" : {
"get_request_token" : {
"path" : "/OAuthGetRequestToken",
"method" : "GET",
"required_params" : [
"scope"
],
"optional_params" : [
"xoauth_displayname"
],
"expected_status" : [ 200, 400 ],
"authentication" : true
},
"post_request_token" : {
"path" : "/OAuthGetRequestToken",
"method" : "POST",
"form-data" : {
"scope" : ":scope",
"xoauth_displayname" : ":xoauth_displayname"
},
"required_params" : [
"scope"
],
"optional_params" : [
"xoauth_displayname"
],
"expected_status" : [ 200, 400 ],
"authentication" : true
},
"authorize_token" : {
"path" : "/OAuthAuthorizeToken",
"method" : "GET",
"required_params" : [
"oauth_token"
],
"optional_params" : [
"hd",
"hl",
"btmpl"
],
"expected_status" : [ 302 ]
},
"get_access_token" : {
"path" : "/OAuthGetAccessToken",
"method" : "GET",
"expected_status" : [ 200, 400 ],
"authentication" : true
},
"post_access_token" : {
"path" : "/OAuthGetAccessToken",
"method" : "POST",
"expected_status" : [ 200, 400 ],
"authentication" : true
}
},
"authority" : "http://github.com/SPORE",
"meta" : {
"documentation" : "http://code.google.com/apis/accounts/docs/OAuth_ref.html"
}
}