integrations

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 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(ts *TokenStorage) *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
}

func NewTokenStorage added in v1.3.6

func NewTokenStorage(initialToken string) *TokenStorage

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