Files
opencloud/extensions/sharing/pkg/config/reva.go
T
2022-04-29 16:10:21 +02:00

12 lines
311 B
Go

package config
// Reva defines all available REVA configuration.
type Reva struct {
Address string `yaml:"address" env:"REVA_GATEWAY"`
}
// TokenManager is the config for using the reva token manager
type TokenManager struct {
JWTSecret string `yaml:"jwt_secret" env:"OCIS_JWT_SECRET;SHARING_JWT_SECRET"`
}