oauth2

package
v1.80.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTokenSource

func NewTokenSource(
	ctx context.Context,
	httpClient *http.Client,
	cfg config.ConfigurationOAUTH2,
) (oauth2.TokenSource, error)

NewTokenSource inspects the OAuth2 configuration and returns the appropriate oauth2.TokenSource for the configured auth method.

Supported methods:

  • client_secret_basic (default)
  • client_secret_post
  • private_key_jwt

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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