config

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticatorSubdomainMapping

type AuthenticatorSubdomainMapping struct {
	Authenticator string
	Subdomain     string
}

type ConsumerClaimsKeysConfig

type ConsumerClaimsKeysConfig struct {
	ClientIDKey string `envconfig:"APP_CONSUMER_CLAIMS_CLIENT_ID_KEY"`
	TenantIDKey string `envconfig:"APP_CONSUMER_CLAIMS_TENANT_ID_KEY"`
	UserNameKey string `envconfig:"APP_CONSUMER_CLAIMS_USER_NAME_KEY"`
}

type HandlerConfig

type HandlerConfig struct {
	AuthenticationMappingEndpoint string `envconfig:"default=/authn-mapping/{authenticator}"`
	TenantMappingEndpoint         string `envconfig:"default=/tenant-mapping"`
	CertResolverEndpoint          string `envconfig:"default=/v1/certificate/data/resolve"`
	TokenResolverEndpoint         string `envconfig:"default=/v1/tokens/resolve"`
}

func (*HandlerConfig) Validate

func (c *HandlerConfig) Validate() error

Validate ensures the constructed Config contains valid property values

Jump to

Keyboard shortcuts

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