unifiers

package
v0.8.2-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UnifierNoop   = "noop"
	UnifierJwt    = "jwt"
	UnifierHeader = "header"
	UnifierCookie = "cookie"
)

Variables

View Source
var (
	ErrUnsupportedUnifierType = errors.New("unifier type unsupported")
)

Functions

This section is empty.

Types

type Unifier

type Unifier interface {
	Execute(ctx heimdall.Context, sub *subject.Subject) error
	WithConfig(config map[string]any) (Unifier, error)
	ContinueOnError() bool
}

func CreateUnifierPrototype

func CreateUnifierPrototype(id string, typ string, mConfig map[string]any) (Unifier, error)

type UnifierTypeFactory

type UnifierTypeFactory func(id string, typ string, c map[string]any) (bool, Unifier, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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