auth

package
v0.36.5 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTokenSource

func GetTokenSource(
	ctx context.Context,
	keyFile string,
	tokenUrl string,
) (tokenSrc oauth2.TokenSource, err error)

GetTokenSource returns a TokenSource for GCS API given a key file, or with the default credentials.

Types

This section is empty.

Jump to

Keyboard shortcuts

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