oauth2

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package oauth2 provides the credentials.module.oauth2 module: a credentials.Builder that produces transport credentials for OAuth2/OIDC client authentication. Source data lives under sessionManager.clientAuth in the top-level config and is read via config.FromContext.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	Mod string `yaml:"module"`
	// contains filtered or unexported fields
}

Module is the credentials.module.oauth2 module. It exposes a credentials.Builder constructed from sessionManager.clientAuth.

func (*Module) Builder

func (m *Module) Builder() credentials.Builder

Builder returns the credentials.Builder produced during Provision.

func (*Module) Module

func (m *Module) Module() sessionmanager.ModuleInfo

func (*Module) Provision

func (m *Module) Provision(ctx *sessionmanager.Context) error

Jump to

Keyboard shortcuts

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