diff options
Diffstat (limited to 'services/linkedin/oauth.json')
| -rw-r--r-- | services/linkedin/oauth.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/services/linkedin/oauth.json b/services/linkedin/oauth.json new file mode 100644 index 0000000..3259391 --- /dev/null +++ b/services/linkedin/oauth.json @@ -0,0 +1,38 @@ +{ + "version" : "0.1", + "base_url" : "https://api.linkedin.com", + "methods" : { + "get_request_token" : { + "path" : "/uas/oauth/requestToken", + "method" : "GET", + "expected_status" : [ 200, 400 ], + "authentication" : true + }, + "get_access_token" : { + "path" : "/uas/oauth/accessToken", + "method" : "GET", + "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" + } +} |
