auth

package
v0.11.10 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RetrieveFromKeyring

func RetrieveFromKeyring(clientID string) (*oauth2.Token, error)

func StoreInKeyring

func StoreInKeyring(clientID string, t *oauth2.Token) error

Types

type Auth

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

func NewAuth

func NewAuth(logger log.Logger, authConfig config.Auth) *Auth

func (Auth) GetToken

func (a Auth) GetToken(ctx context.Context) (*oauth2.Token, error)

Jump to

Keyboard shortcuts

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