Skip to content

Commit f444c3d

Browse files
author
Zoran Plesivčak
committed
box: add box.com OAuth endpoint
More info [here][1]. [1]: https://box-content.readme.io/docs/oauth-20
1 parent 32e393c commit f444c3d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

box/box.go

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

0 commit comments

Comments
 (0)