~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/golang.org/x/oauth2/github/github.go

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2014 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 github provides constants for using OAuth2 to access Github.
 
6
package github // import "golang.org/x/oauth2/github"
 
7
 
 
8
import (
 
9
        "golang.org/x/oauth2"
 
10
)
 
11
 
 
12
// Endpoint is Github's OAuth 2.0 endpoint.
 
13
var Endpoint = oauth2.Endpoint{
 
14
        AuthURL:  "https://github.com/login/oauth/authorize",
 
15
        TokenURL: "https://github.com/login/oauth/access_token",
 
16
}