gitea/vendor/github.com/markbates/goth/providers/google/endpoint_legacy.go

14 lines
260 B
Go
Raw Normal View History

// +build !go1.9
package google
import (
"golang.org/x/oauth2"
)
// Endpoint is Google's OAuth 2.0 endpoint.
var Endpoint = oauth2.Endpoint{
AuthURL: "https://accounts.google.com/o/oauth2/auth",
TokenURL: "https://accounts.google.com/o/oauth2/token",
}