oauthloader

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service wraps a scy.SecretService so callers can reuse a shared instance.

func New

func New(svc *scy.Service) *Service

New returns a new loader bound to the supplied scy.Service. When nil it initialises a default one (blowfish provider with default key).

func (*Service) Load

func (l *Service) Load(ctx context.Context, uri string) (*oauth2.Config, error)

Load reads YAML from URL or local path and returns decrypted *oauth2.Config.

Jump to

Keyboard shortcuts

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