google

package
v0.0.0-...-299b926 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2018 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const ProfilesURL = "https://www.googleapis.com/oauth2/v1/userinfo"

Variables

View Source
var AuthConfig = &oauth2.Config{
	ClientID: os.Getenv("GOOGLE_CLIENT_ID"),

	ClientSecret: os.Getenv("GOOGLE_CLIENT_SECRET"),

	RedirectURL: os.Getenv("GOOGLE_REDIRECT_URL"),

	Endpoint: google.Endpoint,

	Scopes: []string{"https://www.googleapis.com/auth/userinfo.profile", "https://www.googleapis.com/auth/userinfo.email"},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL