config

package
v0.7.15 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticatorRuleConfig

type AuthenticatorRuleConfig struct {
	Handler string                 `json:"handler" yaml:"handler"`
	Config  map[string]interface{} `json:"config" yaml:"handler"`
}

type Config

type Config struct {
	Prefix     string                  `json:"prefix" yaml:"prefix"`
	ServerUrls []string                `json:"server_urls" yaml:"server_urls"`
	Upstream   oathkeeper.RuleUpstream `json:"upstream" yaml:"upstream"`

	Authenticators map[string]AuthenticatorRuleConfig `json:"authenticators" yaml:"authenticators"`
	Authorizer     oathkeeper.RuleHandler             `json:"authorizer" yaml:"authorizer"`
	Mutators       []oathkeeper.RuleHandler           `json:"mutators" yaml:"mutators"`
	Errors         []oathkeeper.RuleErrorHandler      `json:"errors" yaml:"errors"`
}

func New

func New(configFilePath string) (*Config, error)

Jump to

Keyboard shortcuts

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