manual

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthValidator

type AuthValidator func(ctx context.Context, auth *middleware.AuthContext, entryRoles []string) error

AuthValidator is a function that validates authorization for a request. It receives the AuthContext and can use any backend (DB, NATS KV, Redis, HTTP). Return nil if allowed, an error with message if denied.

Jump to

Keyboard shortcuts

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