Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:oauth-io/oauthd into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
william26 committed Oct 28, 2014
2 parents e34f92e + a69145d commit a6645a1
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 6 deletions.
30 changes: 30 additions & 0 deletions providers/uber/conf.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "Uber",
"desc": "Uber connects riders with safe, reliable, convenient transportation providers at a variety of price-points in cities around the world.",
"url": "https://login.uber.com/oauth",
"oauth2": {
"authorize": "/authorize",
"access_token": "/token",
"request": {
"url": "https://api.uber.com",
"cors": true
},
"refresh": "/token",
"parameters": {
"client_secret": "string",
"client_id": "string",
"scope": {
"values": {
"profile": "Access the basic profile information on a user's Uber account including their first name, email address, and profile picture.",
"history": "Pull trip data including the locations, times, and product type of a user's historical pickups and drop-offs."
}
}
}
},
"href": {
"keys": "https://login.uber.com/applications/new",
"docs": "https://developer.uber.com/v1/api-reference/",
"apps": "https://login.uber.com/applications",
"provider": "https://uber.com/"
}
}
Binary file added providers/uber/config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added providers/uber/keys.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added providers/uber/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions providers/uber/me.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
var me = {

url: '/v1/me',
params: {},
fields: {
name: '=',
firstname: 'first_name',
lastname: 'last_name',
avatar: 'picture',
email: '=',
}
};

module.exports = me;
27 changes: 27 additions & 0 deletions providers/uber/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"settings": {
"createApp": {
"url": "https://login.uber.com/applications/new",
},
"copyingKey": {
"url": "https://login.uber.com/applications",
},
"install": {
"href": {
"provider": "https://uber.com/",
"docs": "https://developer.uber.com/v1/api-reference/"
}
},
"sample": {
"method": "get",
"url": "/v1/me"
},
"endpoints": {
"me": {
"method": "get",
"url": "/v1/me"
}
},
"jsfiddle": "http://jsfiddle.net/willjcksn/2hb6B/embedded/"
}
}
12 changes: 6 additions & 6 deletions providers/vk/conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"scope": {
"separator": ",",
"values": {
"notify": "The user allows receiving notifications.",
"notify": "User allowed to send notifications to him/her.",
"friends": "Access to friends.",
"photos": "Access to photos.",
"audio": "Access to audio files.",
Expand All @@ -44,12 +44,12 @@
"questions": "Access to questions (outdated methods).",
"wall": "Access to standard and advanced methods for working with the wall.",
"groups": "Access to user groups",
"stats": "Access to statistics of user groups and applications where he/she is an administrator.",
"messages": "(for Standalone applications) Access to advanced methods for working with messages.",
"notifications": "Access to the notifications",
"stats": "Statistics access to the user's groups and applications",
"offline": "Access to API at any time from an external server.",
"ads": "Access to advanced methods for Ads API."
"email": "User e-mail access. Available only for sites.",
"notifications": "Access to notifications about answers to the user.",
"stats": "Access to statistics of user groups and applications where he/she is an administrator.",
"ads": "Access to advanced methods for Ads API.",
"offline": "Access to API at any time from an external server."
}
}
}
Expand Down

0 comments on commit a6645a1

Please sign in to comment.