Add the missing auth providers to AUTH_BASIC_AUTH_PROVIDER description (#4923)

* Add the missing auth providers to AUTH_BASIC_AUTH_PROVIDER description

* fix strings on more locations

* WOPIDriver

* Apply suggestions from code review

* Update services/users/pkg/config/config.go
This commit is contained in:
Martin
2022-11-03 12:31:57 +01:00
committed by GitHub
parent 968bf088d0
commit 5602668634
4 changed files with 4 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ type GRPCConfig struct {
}
type Drivers struct {
WOPI WOPIDriver `yaml:"wopi" desc:"driver for the CS3org WOPI server"`
WOPI WOPIDriver `yaml:"wopi" desc:"Driver for the CS3org WOPI server"`
}
type WOPIDriver struct {

View File

@@ -19,7 +19,7 @@ type Config struct {
Reva *shared.Reva `yaml:"reva"`
SkipUserGroupsInToken bool `yaml:"skip_user_groups_in_token" env:"AUTH_BASIC_SKIP_USER_GROUPS_IN_TOKEN" desc:"Disables the encoding of the user's group memberships in the reva access token. This reduces the token size, especially when users are members of a large number of groups."`
AuthProvider string `yaml:"auth_provider" env:"AUTH_BASIC_AUTH_PROVIDER" desc:"The auth provider which should be used by the service like 'ldap'."`
AuthProvider string `yaml:"auth_provider" env:"AUTH_BASIC_AUTH_PROVIDER" desc:"The authentication provider to check if credentials are valid. Supported values are 'ldap' and 'owncloudsql'."`
AuthProviders AuthProviders `yaml:"auth_providers"`
Supervised bool `yaml:"-"`

View File

@@ -20,7 +20,7 @@ type Config struct {
SkipUserGroupsInToken bool `yaml:"skip_user_groups_in_token" env:"GROUPS_SKIP_USER_GROUPS_IN_TOKEN" desc:"Disables the loading of user's group memberships from the reva access token."`
Driver string `yaml:"driver" desc:"The driver which should be used by the groups service like 'ldap'."`
Driver string `yaml:"driver" env:"GROUPS_DRIVER" desc:"The driver which should be used by the groups service. Supported values are 'ldap' and 'owncloudsql'."`
Drivers Drivers `yaml:"drivers"`
Supervised bool `yaml:"-"`

View File

@@ -20,7 +20,7 @@ type Config struct {
SkipUserGroupsInToken bool `yaml:"skip_user_groups_in_token" env:"USERS_SKIP_USER_GROUPS_IN_TOKEN" desc:"Disables the loading of user's group memberships from the reva access token."`
Driver string `yaml:"driver" env:"USERS_DRIVER" desc:"The user driver which should be used by the users service. Supported values are 'ldap', 'owncloudsql', 'json' and 'rest'."`
Driver string `yaml:"driver" env:"USERS_DRIVER" desc:"The driver which should be used by the users service. Supported values are 'ldap' and 'owncloudsql'."`
Drivers Drivers `yaml:"drivers"`
Supervised bool `yaml:"-"`