integrations

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOauth2ClientCredentials

func NewOauth2ClientCredentials(clientID, clientSecret, tokenUrl string, scopes []string) auth.Authenticator

Types

type OAuthPassThroughAuthenticator added in v1.3.7

type OAuthPassThroughAuthenticator struct {
	// contains filtered or unexported fields
}

func NewOAuthPassThroughAuthenticator added in v1.3.7

func NewOAuthPassThroughAuthenticator() *OAuthPassThroughAuthenticator

func (*OAuthPassThroughAuthenticator) Authenticate added in v1.3.7

func (a *OAuthPassThroughAuthenticator) Authenticate(r *http.Request) error

type TokenStorage added in v1.3.6

type TokenStorage struct {
	// contains filtered or unexported fields
}

TokenStorage is a thread-safe storage for the OAuth pass-through token. Token Storage is needed as retries may not have the token in the context.

func (*TokenStorage) Get added in v1.3.6

func (ts *TokenStorage) Get() string

func (*TokenStorage) Update added in v1.3.6

func (ts *TokenStorage) Update(newToken string)

Jump to

Keyboard shortcuts

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