config

package
v0.0.0-...-9bd68f6 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

The config package holds OAuth2 configuration data shared by the drive storage and the setupstorage-drive command.

Index

Constants

This section is empty.

Variables

View Source
var OAuth2 = &oauth2.Config{
	ClientID:     "756365541666-dbbsja2vlrl38j0r85f32cgl3sj6n8k9.apps.googleusercontent.com",
	ClientSecret: "RfAusHn6sSN7YO2pErac0ggs",
	Endpoint: oauth2.Endpoint{
		AuthURL:  "https://accounts.google.com/o/oauth2/auth",
		TokenURL: "https://accounts.google.com/o/oauth2/token",
	},
	RedirectURL: "urn:ietf:wg:oauth:2.0:oob",
	Scopes:      []string{drive.DriveAppdataScope},
}

OAuth2 holds OAuth configuration used by the Upspin Google Drive package. It is used by both the storage and the setup process.

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