Files
opencloud/services/auth-api/pkg/config/config.go

28 lines
546 B
Go

package config
import (
"context"
"github.com/opencloud-eu/opencloud/pkg/shared"
)
// Config combines all available configuration parts.
type Config struct {
Commons *shared.Commons `yaml:"-"` // don't use this directly as configuration for a service
Service Service `yaml:"-"`
Log *Log `yaml:"log"`
Debug Debug `yaml:"debug"`
HTTP HTTP `yaml:"http"`
Authentication AuthenticationAPI `yaml:"authentication_api"`
Context context.Context `yaml:"-"`
}
type AuthenticationAPI struct {
JwkEndpoint string `yaml:"jwk_endpoint"`
}