You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
507 B

  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. // Package cern provides constants for using OAuth2 to access CERN services.
  5. package cern // import "golang.org/x/oauth2/cern"
  6. import (
  7. "golang.org/x/oauth2"
  8. )
  9. // Endpoint is CERN's OAuth 2.0 endpoint.
  10. var Endpoint = oauth2.Endpoint{
  11. AuthURL: "https://oauth.web.cern.ch/OAuth/Authorize",
  12. TokenURL: "https://oauth.web.cern.ch/OAuth/Token",
  13. }