noop

package
v0.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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

func New

func New() authz.Authorizer

New returns a NoopAuthorizer that always permits requests.

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

Check always returns (true, nil).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL