Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedAuthorizerType = errors.New("authorizer type unsupported")
)
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type Authorizer interface { Execute(heimdall.Context, *subject.Subject) error WithConfig(config map[string]any) (Authorizer, error) }
func CreateAuthorizerPrototype ¶
func CreateAuthorizerPrototype(id string, typ config.PipelineObjectType, config map[string]any) (Authorizer, error)
type AuthorizerTypeFactory ¶
type AuthorizerTypeFactory func( id string, typ config.PipelineObjectType, config map[string]any, ) (bool, Authorizer, error)
Click to show internal directories.
Click to hide internal directories.