Skip to content

Commit bee4e0a

Browse files
sbinetbradfitz
authored andcommitted
cern: add CERN OAuth endpoint
Change-Id: I7532b49af74ce2ea5edaffba7f61a45f420d329d Reviewed-on: https://go-review.googlesource.com/114996 Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 8373c64 commit bee4e0a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

cern/cern.go

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright 2018 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 cern provides constants for using OAuth2 to access CERN services.
6+
package cern // import "golang.org/x/oauth2/cern"
7+
8+
import (
9+
"golang.org/x/oauth2"
10+
)
11+
12+
// Endpoint is CERN's OAuth 2.0 endpoint.
13+
var Endpoint = oauth2.Endpoint{
14+
AuthURL: "https://oauth.web.cern.ch/OAuth/Authorize",
15+
TokenURL: "https://oauth.web.cern.ch/OAuth/Token",
16+
}

0 commit comments

Comments
 (0)