auth

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthTokenSource

func NewAuthTokenSource(config *oauth2.Config) *authTokenSource

func NewCachingTokenSource

func NewCachingTokenSource(filePath string, src oauth2.TokenSource) oauth2.TokenSource

NewCachingTokenSource returns a TokenSource that caches the token from the provided TokenSource. It is based on the implementation of oauth2.ReuseTokenSource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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