mechanisms

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAuthenticatorCreation  = errors.New("failed to create authenticator")
	ErrAuthorizerCreation     = errors.New("failed to create authorizer")
	ErrUnifierCreation        = errors.New("failed to create unifier")
	ErrContextualizerCreation = errors.New("failed to create contextualizer")
	ErrErrorHandlerCreation   = errors.New("failed to create error handler")
)
View Source
var ErrNoSuchPipelineObject = errors.New("pipeline object not found")

Functions

This section is empty.

Types

type Factory

type Factory interface {
	CreateAuthenticator(version, id string, conf config.MechanismConfig) (authenticators.Authenticator, error)
	CreateAuthorizer(version, id string, conf config.MechanismConfig) (authorizers.Authorizer, error)
	CreateContextualizer(version, id string, conf config.MechanismConfig) (contextualizers.Contextualizer, error)
	CreateUnifier(version, id string, conf config.MechanismConfig) (unifiers.Unifier, error)
	CreateErrorHandler(version, id string, conf config.MechanismConfig) (errorhandlers.ErrorHandler, error)
}

func NewFactory

func NewFactory(conf *config.Configuration, logger zerolog.Logger) (Factory, error)

Jump to

Keyboard shortcuts

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