config

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 32 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidClientID = errors.New("invalid client id")
)

Functions

func NewDPoPClient added in v0.3.58

func NewDPoPClient(ctx context.Context, clientID string, clientSecret string, options ...ClientOption) (grpc.ClientConnInterface, *jose.JSONWebKey, oauth2.TokenSource, error)

NewDPoPClient creates a gRPC client with DPoP authentication.

func NewIdAttMarshaller

func NewIdAttMarshaller(ctx context.Context) (*idAttMarshaller, error)

func TLSConfig added in v0.46.1

func TLSConfig() (*tls.Config, error)

TLSConfig returns the TLS configuration used for the configuration host: the system roots plus any CA bundle named by BATON_LAMBDA_CA_CERT_PATH. Other clients that talk to the same host use it so that they trust the same certificates.

Types

type ClientOption added in v0.46.1

type ClientOption func(*clientOptions)

func WithHostOverridesDisabled added in v0.46.1

func WithHostOverridesDisabled() ClientOption

Jump to

Keyboard shortcuts

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