auth

package
v0.0.0-...-8c71cb1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllowedTenantsFromContext

func GetAllowedTenantsFromContext(ctx context.Context) []string

GetAllowedTenantsFromContext extracts the names of allowed tenants, if any, from the provided context

func NewAuthenticator

func NewAuthenticator(ctx context.Context, logger *slog.Logger, policies io.Reader) (func(http.Handler) http.Handler, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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