summaryrefslogtreecommitdiff
path: root/services/linkedin/oauth.json
diff options
context:
space:
mode:
Diffstat (limited to 'services/linkedin/oauth.json')
-rw-r--r--services/linkedin/oauth.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/services/linkedin/oauth.json b/services/linkedin/oauth.json
new file mode 100644
index 0000000..9cf94e1
--- /dev/null
+++ b/services/linkedin/oauth.json
@@ -0,0 +1,44 @@
+{
+ "version" : "0.1",
+ "base_url" : "https://api.linkedin.com",
+ "methods" : {
+ "get_request_token" : {
+ "path" : "/uas/oauth/requestToken",
+ "method" : "GET",
+ "headers" : {
+ "Authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_signature_method=\":oauth_signature_method\", oauth_signature=\":oauth_signature\", oauth_timestamp=\":oauth_timestamp\", oauth_nonce=\":oauth_nonce\", oauth_version=\":oauth_version\", oauth_callback=\":oauth_callback\""
+ },
+ "expected_status" : [ 200, 400 ],
+ "authentication" : true
+ },
+ "get_access_token" : {
+ "path" : "/uas/oauth/accessToken",
+ "method" : "GET",
+ "headers" : {
+ "Authorization" : "OAuth oauth_consumer_key=\":oauth_consumer_key\", oauth_token=\":oauth_token\", oauth_verifier=\":oauth_verifier\", oauth_signature_method=\":oauth_signature_method\", oauth_signature=\":oauth_signature\", oauth_timestamp=\":oauth_timestamp\", oauth_nonce=\":oauth_nonce\", oauth_version=\":oauth_version\""
+ },
+ "expected_status" : [ 200, 400 ],
+ "authentication" : true
+ },
+ "authorize_token" : {
+ "path" : "/uas/oauth/authorize",
+ "method" : "GET",
+ "required_params" : [
+ "oauth_token"
+ ],
+ "expected_status" : [ 302 ]
+ },
+ "invalidate_token" : {
+ "path" : "/uas/oauth/invalidateToken",
+ "method" : "GET",
+ "expected_status" : [ 200, 400 ],
+ "authentication" : true
+ }
+ },
+ "authority" : "http://github.com/SPORE",
+ "name" : "LinkedIn",
+ "meta" : {
+ "documentation" : "http://developer.linkedin.com/",
+ "module" : "OAuth"
+ }
+}