-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:oauth-io/oauthd into develop
- Loading branch information
Showing
7 changed files
with
77 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters