oauth2

package
v0.0.0-...-53c253e Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	oauth2.Config

	// Path where this provider is mounted
	Path string

	// Regexp of hosts that oauth tokens are allowed to be used with. There is
	// no need to anchor regexes.
	AllowedHostPattern string
}

func (Config) Register

func (c Config) Register(sealKey string, auth tokenizer.AuthConfig) (http.Handler, error)

implements ssokenizer.ProviderConfig

Jump to

Keyboard shortcuts

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