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")
View Source
var Module = fx.Options( fx.Provide(NewFactory), )
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface { CreateAuthenticator(id string, conf config.MechanismConfig) (authenticators.Authenticator, error) CreateAuthorizer(id string, conf config.MechanismConfig) (authorizers.Authorizer, error) CreateContextualizer(id string, conf config.MechanismConfig) (contextualizers.Contextualizer, error) CreateUnifier(id string, conf config.MechanismConfig) (unifiers.Unifier, error) CreateErrorHandler(id string, conf config.MechanismConfig) (errorhandlers.ErrorHandler, error) }
func NewFactory ¶
Click to show internal directories.
Click to hide internal directories.