diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-05-22 01:23:33 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-05-22 01:23:33 +0100 |
commit | 649bf79117e30895108b7782d62daafd07bc5e6e (patch) | |
tree | fbee9fcd5374b87e75f85c0f1bf3a0d45aa6de67 /vendor/golang.org/x/oauth2/github | |
parent | 1b21181bda148118b56221fe35b8dac3cd40bb50 (diff) |
Use govendor
Diffstat (limited to 'vendor/golang.org/x/oauth2/github')
-rw-r--r-- | vendor/golang.org/x/oauth2/github/github.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/golang.org/x/oauth2/github/github.go b/vendor/golang.org/x/oauth2/github/github.go new file mode 100644 index 0000000..f297801 --- /dev/null +++ b/vendor/golang.org/x/oauth2/github/github.go @@ -0,0 +1,16 @@ +// Copyright 2014 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Package github provides constants for using OAuth2 to access Github. +package github // import "golang.org/x/oauth2/github" + +import ( + "golang.org/x/oauth2" +) + +// Endpoint is Github's OAuth 2.0 endpoint. +var Endpoint = oauth2.Endpoint{ + AuthURL: "https://github.com/login/oauth/authorize", + TokenURL: "https://github.com/login/oauth/access_token", +} |