Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is the zero-pdp release version. It defaults to "dev" and is overridden at build time via -ldflags "-X github.com/gematik/zero-lab/go/pdp.Version=<v>".
Functions ¶
func LoadOpenidProviders ¶ added in v0.22.0
func LoadOpenidProviders(path string) ([]oidc.Config, []gemidp.ClientConfig, *oidf.RelyingPartyConfig, error)
LoadOpenidProviders reads the flat openid-providers.yaml. ${VAR} placeholders expand from the environment. Relative paths inside the OIDF config resolve against the file's directory (set by the caller via OidfRelyingPartyConfig.BaseDir).
func ResolveVersion ¶
func ResolveVersion() string
ResolveVersion returns the ldflags-injected Version when set, otherwise the module version embedded by `go install …@vX.Y.Z` (read from the build info).
Types ¶
type Config ¶
type Config struct {
BindAddress string `yaml:"bind_address"`
BaseDir string `yaml:"-"`
AuthzServerConfig authzserver.Config `yaml:"authorization_server" validate:"required"`
}
func LoadConfigFile ¶
Click to show internal directories.
Click to hide internal directories.