Documentation
¶
Overview ¶
Package noop provides a no-op Authorizer that always permits all requests. Useful for testing or services that do not require authorization enforcement.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authorizer ¶
type Authorizer struct{}
Authorizer is a no-op implementation that always returns allowed=true.
func (*Authorizer) Check ¶ added in v0.4.0
func (a *Authorizer) Check(_ context.Context, _ authz.CheckRequest) (bool, error)
Check always returns (true, nil).
Click to show internal directories.
Click to hide internal directories.