oauth

package
v0.0.0-...-90e9758 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package oauth implements a convenience function for doing the Oauth exchange.

Index

Constants

View Source
const (
	// Oauth client ID.
	ClientId = "324161558957-fnbfpm45dgiare5htt7nc8t52a5e1v2k.apps.googleusercontent.com"
	// Oauth client secret.
	Secret = "u02Pz9c3cSR1Aii_3qzuAxXX"
)

Variables

This section is empty.

Functions

func GetOAuthClient

func GetOAuthClient(ctx context.Context, cfg *oauth2.Config) (*oauth2.Token, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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