grafana/pkg/services/ssosettings
Mihai Doarna 2e2b1cd9e4
Refactor SSOSettings to use types (#78675)
* refactor SSOSettings to use types

* test struct

* refactor SSOSettings struct to use types

* fix database tests

* fix populateSSOSettings() to accept an SSOSettings param

* fix all tests from the database layer

* handle errors for converting to/from SSOSettings

* add json tag on OAuthInfo fields

* use continue instead of if/else

* add the source field to SSOSettingsDTO conversion

* remove omitempty from json tags in OAuthInfo struct
2023-11-29 18:02:04 +02:00
..
api Refactor SSOSettings to use types (#78675) 2023-11-29 18:02:04 +02:00
database Refactor SSOSettings to use types (#78675) 2023-11-29 18:02:04 +02:00
models Refactor SSOSettings to use types (#78675) 2023-11-29 18:02:04 +02:00
ssosettingsimpl Refactor SSOSettings to use types (#78675) 2023-11-29 18:02:04 +02:00
ssosettingstests Refactor SSOSettings to use types (#78675) 2023-11-29 18:02:04 +02:00
strategies Auth: Refactor OAuth connectors' initialization (#77919) 2023-11-20 09:45:40 +01:00
errors.go Auth: SSO settings foundations (#77724) 2023-11-08 10:50:01 +01:00
ssosettings.go Refactor SSOSettings to use types (#78675) 2023-11-29 18:02:04 +02:00