Skip to content

Commit 4784bb8

Browse files
vlad-mhbradfitz
authored andcommitted
uber: Add Uber API endpoints
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]>
1 parent 04e1573 commit 4784bb8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

uber/uber.go

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2016 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
4+
5+
// Package uber provides constants for using OAuth2 to access Uber.
6+
package uber // import "golang.org/x/oauth2/uber"
7+
8+
import (
9+
"golang.org/x/oauth2"
10+
)
11+
12+
// Endpoint is Uber's OAuth 2.0 endpoint.
13+
var Endpoint = oauth2.Endpoint{
14+
AuthURL: "https://login.uber.com/oauth/v2/authorize",
15+
TokenURL: "https://login.uber.com/oauth/v2/token",
16+
}

0 commit comments

Comments
 (0)