Skip to content

Commit 9ecad50

Browse files
manusajithadg
authored andcommitted
bitbucket: add end points
Change-Id: I0dee5ae8d822ecf0bc873534fbbba5d0ec546c7b Reviewed-on: https://go-review.googlesource.com/14664 Reviewed-by: Andrew Gerrand <[email protected]>
1 parent 52dcf34 commit 9ecad50

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

bitbucket/bitbucket.go

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2015 The oauth2 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 bitbucket provides constants for using OAuth2 to access Bitbucket.
6+
package bitbucket
7+
8+
import (
9+
"golang.org/x/oauth2"
10+
)
11+
12+
// Endpoint is Bitbucket's OAuth 2.0 endpoint.
13+
var Endpoint = oauth2.Endpoint{
14+
AuthURL: "https://bitbucket.org/site/oauth2/authorize",
15+
TokenURL: "https://bitbucket.org/site/oauth2/access_token",
16+
}

0 commit comments

Comments
 (0)