mirror of
https://github.com/golang/oauth2.git
synced 2025-07-21 00:00:09 +08:00
The endpoints are documented here: https://devcenter.heroku.com/articles/oauth Change-Id: Ie8012d7588fc29afda7dd64f999c7418c32a5df2 Reviewed-on: https://go-review.googlesource.com/27635 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
17 lines
500 B
Go
17 lines
500 B
Go
// Copyright 2016 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 heroku provides constants for using OAuth2 to access Heroku.
|
|
package heroku // import "golang.org/x/oauth2/heroku"
|
|
|
|
import (
|
|
"golang.org/x/oauth2"
|
|
)
|
|
|
|
// Endpoint is Heroku's OAuth 2.0 endpoint.
|
|
var Endpoint = oauth2.Endpoint{
|
|
AuthURL: "https://id.heroku.com/oauth/authorize",
|
|
TokenURL: "https://id.heroku.com/oauth/token",
|
|
}
|