Skip to content

Commit

Permalink
uber: Add Uber API endpoints
Browse files Browse the repository at this point in the history
The endpoints are documented here:
https://developer.uber.com/docs/rides/authentication#oauth-20

Change-Id: I5fc0fff1f48393938548bc5071bc35f32d259a7a
Reviewed-on: https://go-review.googlesource.com/26690
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
vlad-mh authored and bradfitz committed Aug 10, 2016
1 parent 04e1573 commit 4784bb8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions uber/uber.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package uber provides constants for using OAuth2 to access Uber.
package uber // import "golang.org/x/oauth2/uber"

import (
"golang.org/x/oauth2"
)

// Endpoint is Uber's OAuth 2.0 endpoint.
var Endpoint = oauth2.Endpoint{
AuthURL: "https://login.uber.com/oauth/v2/authorize",
TokenURL: "https://login.uber.com/oauth/v2/token",
}

0 comments on commit 4784bb8

Please sign in to comment.