oauth2client

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder func(clientID string) (*http.Client, error)

Builder creates an HTTP client with OAuth2 credentials for a given clientID.

func NewBuilder

func NewBuilder(template commoncfg.OAuth2) Builder

NewBuilder returns a Builder that uses the provided OAuth2 template. Each invocation creates a new HTTP client with the clientID overridden.

Jump to

Keyboard shortcuts

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