auth

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(c Config) (*opa, error)

New creates an OPA authorizer

Types

type Config

type Config struct {
	Log            *slog.Logger
	CertStore      certs.CertStore
	CertCacheTime  *time.Duration
	TokenStore     token.TokenStore
	AllowedIssuers []string
	AdminSubjects  []string
	MasterClient   mdc.Client
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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