credentials

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: Apache-2.0 Imports: 2 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) TransportCredentials

type ClientSecret

type ClientSecret struct {
	ClientID     string
	ClientSecret string
}

func NewClientSecret

func NewClientSecret(clientID, clientSecret string) *ClientSecret

func (*ClientSecret) Transport

func (c *ClientSecret) Transport() http.RoundTripper

type Default

type Default struct{}

func (*Default) Transport

func (c *Default) Transport() http.RoundTripper

type TLS

type TLS struct {
	ClientID  string
	TLSConfig *tls.Config
}

func NewTLS

func NewTLS(clientID string, tlsConfig *tls.Config) *TLS

func (*TLS) Transport

func (c *TLS) Transport() http.RoundTripper

type TransportCredentials

type TransportCredentials interface {
	Transport() http.RoundTripper
}

func NewDefault

func NewDefault() TransportCredentials

Jump to

Keyboard shortcuts

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