authelia/internal/handlers
James Elliott a7e867a699
feat(configuration): replace viper with koanf (#2053)
This commit replaces github.com/spf13/viper with github.com/knadh/koanf. Koanf is very similar library to viper, with less dependencies and several quality of life differences. This also allows most config options to be defined by ENV. Lastly it also enables the use of split configuration files which can be configured by setting the --config flag multiple times.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-08-03 19:55:21 +10:00
..
const.go fix(handlers): make user banned message consistent (#2223) 2021-08-02 16:54:20 +10:00
errors.go [MISC] Fixed typo in X-Forwarded headers (#1280) 2020-08-21 11:15:20 +10:00
handler_checks_safe_redirection_test.go fix: user is now redirected when authenticated (#2082) 2021-08-02 16:15:38 +10:00
handler_checks_safe_redirection.go fix: user is now redirected when authenticated (#2082) 2021-08-02 16:15:38 +10:00
handler_configuration_test.go fix(authorization): configuration reports 2fa disabled with 2fa oidc clients (#2089) 2021-06-18 11:38:01 +10:00
handler_configuration.go fix(authorization): configuration reports 2fa disabled with 2fa oidc clients (#2089) 2021-06-18 11:38:01 +10:00
handler_firstfactor_test.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_firstfactor.go fix(handlers): make user banned message consistent (#2223) 2021-08-02 16:54:20 +10:00
handler_health.go [FEATURE] Create dedicated health endpoint (#1489) 2020-11-25 10:20:52 +11:00
handler_logout_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_logout.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_oidc_authorize.go feat(oidc): userinfo endpoint (#2146) 2021-07-10 14:56:33 +10:00
handler_oidc_consent.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
handler_oidc_introspect.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
handler_oidc_jwks.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
handler_oidc_revoke.go feature(oidc): add support for OpenID Connect 2021-05-05 00:15:36 +02:00
handler_oidc_token.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
handler_oidc_userinfo.go feat(oidc): userinfo endpoint (#2146) 2021-07-10 14:56:33 +10:00
handler_oidc_wellknown.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_register_totp.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_register_u2f_step1_test.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_register_u2f_step1.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_register_u2f_step2.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_reset_password_step1.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_reset_password_step2.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_sign_duo_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_sign_duo.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_sign_totp_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_sign_totp.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_sign_u2f_step1_test.go [MISC] Fixed typo in X-Forwarded headers (#1280) 2020-08-21 11:15:20 +10:00
handler_sign_u2f_step1.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_sign_u2f_step2_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_sign_u2f_step2.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_state_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_state.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_user_info_test.go [MISC] Refactor and address most errcheck linter ignores (#1511) 2020-12-16 12:47:31 +11:00
handler_user_info.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_verify_test.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
handler_verify.go feat(configuration): replace viper with koanf (#2053) 2021-08-03 19:55:21 +10:00
oidc_register.go fix(handlers): handle xhr requests to /api/verify with 401 (#2189) 2021-07-22 13:52:37 +10:00
oidc_test.go feature(oidc): add support for OpenID Connect 2021-05-05 00:15:36 +02:00
oidc.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
response.go fix: user is now redirected when authenticated (#2082) 2021-08-02 16:15:38 +10:00
totp_mock.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00
totp.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
types_oidc.go feat(oidc): add additional config options, accurate token times, and refactoring (#1991) 2021-07-04 09:44:30 +10:00
types.go fix: user is now redirected when authenticated (#2082) 2021-08-02 16:15:38 +10:00
u2f_mock.go [MISC] Update durations to notation format and housekeeping (#824) 2020-04-05 22:37:21 +10:00
u2f.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00