Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthorizerAllow = "allow" AuthorizerDeny = "deny" AuthorizerLocal = "local" AuthorizerCEL = "cel" AuthorizerRemote = "remote" )
Variables ¶
View Source
var (
ErrUnsupportedAuthorizerType = errors.New("authorizer type unsupported")
)
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type Authorizer interface { ID() string Execute(ctx heimdall.Context, sub *subject.Subject) error WithConfig(config map[string]any) (Authorizer, error) ContinueOnError() bool }
func CreatePrototype ¶
type AuthorizerTypeFactory ¶
type Expression ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.