oauth

package
v0.0.0-...-f26ed72 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: Apache-2.0 Imports: 8 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 = "457311175792-n3hpckfadgri6opat70c8an1fmhmaev7.apps.googleusercontent.com"
	// Oauth client secret.
	Secret = "GOylH6-BUUQFm_lzrhXKpdac"
)

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