authelia/internal/configuration/validator
James Elliott c1ac25a15b
[FEATURE] Config Validation (#901)
* [FEATURE] Config Validation

* check configuration for invalid keys on startup
* allow users to manually trigger all configuration validation on a file using a cmd
* setup all defaults in config template and run tests against it to prevent accidents
* use tests to check bad configuration values are caught
* use tests to check old configuration values are caught
* add tests for specific key errors
* resolve merge conflicts
* nolint prealloc for test
2020-04-23 11:47:27 +10:00
..
authentication_test.go [BUGFIX] Password hashing schema map mismatch with docs (#852) 2020-04-11 13:54:18 +10:00
authentication.go [BUGFIX] Password hashing schema map mismatch with docs (#852) 2020-04-11 13:54:18 +10:00
configuration_test.go [FEATURE] File Secrets (#896) 2020-04-23 11:11:32 +10:00
configuration.go [FEATURE] File Secrets (#896) 2020-04-23 11:11:32 +10:00
const.go [FEATURE] Config Validation (#901) 2020-04-23 11:47:27 +10:00
keys_test.go [FEATURE] Config Validation (#901) 2020-04-23 11:47:27 +10:00
keys.go [FEATURE] Config Validation (#901) 2020-04-23 11:47:27 +10:00
notifier_test.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00
notifier.go [FEATURE] Notifier Startup Checks (#889) 2020-04-21 14:59:38 +10:00
regulation_test.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00
regulation.go [MISC] Implement golint recommendations (#885) 2020-04-20 23:03:38 +02:00
secrets.go [FEATURE] File Secrets (#896) 2020-04-23 11:11:32 +10:00
session_test.go [Buildkite] Introduce CI linting with golangci-lint and reviewdog (#832) 2020-04-09 11:05:17 +10:00
session.go [Buildkite] Introduce CI linting with golangci-lint and reviewdog (#832) 2020-04-09 11:05:17 +10:00
storage_test.go [FEATURE] File Secrets (#896) 2020-04-23 11:11:32 +10:00
storage.go [FEATURE] File Secrets (#896) 2020-04-23 11:11:32 +10:00
totp_test.go [Buildkite] Introduce CI linting with golangci-lint and reviewdog (#832) 2020-04-09 11:05:17 +10:00
totp.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00