googleoauth

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeConfig

func MakeConfig(cfg Config) *oauth2.Config

Types

type Config

type Config struct {
	ClientID     string   `envconfig:"CLIENT_ID" json:"client_id"`
	ClientSecret string   `envconfig:"CLIENT_SECRET" json:"client_secret"`
	RedirectURL  string   `envconfig:"REDIRECT_URL" json:"redirect_url"`
	Scopes       []string `envconfig:"SCOPES" json:"scopes"`
}

Jump to

Keyboard shortcuts

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