oauth2

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	ClientID       string                     `river:"client_id,attr"`
	ClientSecret   string                     `river:"client_secret,attr"`
	TokenURL       string                     `river:"token_url,attr"`
	EndpointParams url.Values                 `river:"endpoint_params,attr,optional"`
	Scopes         []string                   `river:"scopes,attr,optional"`
	TLSSetting     otelcol.TLSClientArguments `river:"tls,block,optional"`
	Timeout        time.Duration              `river:"timeout,attr,optional"`
}

Arguments configures the otelcol.auth.oauth2 component.

func (Arguments) Convert

func (args Arguments) Convert() (otelcomponent.Config, error)

Convert implements auth.Arguments.

func (Arguments) Exporters

Exporters implements auth.Arguments.

func (Arguments) Extensions

func (args Arguments) Extensions() map[otelcomponent.ID]otelextension.Extension

Extensions implements auth.Arguments.

Jump to

Keyboard shortcuts

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