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") ErrFinalizerCreation = errors.New("failed to create finalizer") 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(NewMechanismFactory), )
Functions ¶
This section is empty.
Types ¶
type MechanismFactory ¶
type MechanismFactory interface {
CreateAuthenticator(version, refID, stepID string, conf config.MechanismConfig) (authenticators.Authenticator, error)
CreateAuthorizer(version, refID, stepID string, conf config.MechanismConfig) (authorizers.Authorizer, error)
CreateContextualizer(version, refID, stepID string, conf config.MechanismConfig) (contextualizers.Contextualizer, error) //nolint: lll
CreateFinalizer(version, refID, stepID string, conf config.MechanismConfig) (finalizers.Finalizer, error)
CreateErrorHandler(version, refID, stepID string, conf config.MechanismConfig) (errorhandlers.ErrorHandler, error)
}
func NewMechanismFactory ¶
func NewMechanismFactory(app app.Context) (MechanismFactory, error)
Click to show internal directories.
Click to hide internal directories.