-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanup: Use const values to handle layout / entries well known values and generate strings instead of hardcoding them #626
base: main
Are you sure you want to change the base?
Commits on Dec 2, 2024
-
brokers: Move auth results to auth package so that can be used everyw…
…here We were duplicating this in the example broker, so let's make the same content be available everywhere.
Configuration menu - View commit details
-
Copy full SHA for 54f0b23 - Browse repository at this point
Copy the full SHA 54f0b23View commit details -
cleanup: Define layout type names as constants and reuse them in code
Avoid (re)using string values for layout types as is, since they are prone to errors and they're hard to maintain.
Configuration menu - View commit details
-
Copy full SHA for 61e5f90 - Browse repository at this point
Copy the full SHA 61e5f90View commit details -
cleanup: Define entries names as constants and reuse them in code
Avoid (re)using string values for entries types as is, since they are prone to errors and they're hard to maintain.
Configuration menu - View commit details
-
Copy full SHA for f91b628 - Browse repository at this point
Copy the full SHA f91b628View commit details -
brokers/layouts: Add simple formatter for optional/required items
Avoid building the list manually now that we've consts values and use this for both optional booleans and supported entries
Configuration menu - View commit details
-
Copy full SHA for 6089ab3 - Browse repository at this point
Copy the full SHA 6089ab3View commit details -
brokers/layouts: Add parser for joined layout items
It can be used to parse optional or required values or entries. Use this both in broker and example brokers logic
Configuration menu - View commit details
-
Copy full SHA for 499ba6a - Browse repository at this point
Copy the full SHA 499ba6aView commit details -
cleanup: Use layouts.True instead of strings
Avoid repeating the same string allover the places
Configuration menu - View commit details
-
Copy full SHA for 49ae45e - Browse repository at this point
Copy the full SHA 49ae45eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef4d0fd - Browse repository at this point
Copy the full SHA ef4d0fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61efcce - Browse repository at this point
Copy the full SHA 61efcceView commit details -
Configuration menu - View commit details
-
Copy full SHA for b303302 - Browse repository at this point
Copy the full SHA b303302View commit details -
examplebroker: Simplify auth modes handling by using a maps of structs
We were using a maps of maps that made code hard to read and maintain and doing some unneeded conversions to json back and forth. Avoid this by just using structured data instead
Configuration menu - View commit details
-
Copy full SHA for b56fe49 - Browse repository at this point
Copy the full SHA b56fe49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b00485 - Browse repository at this point
Copy the full SHA 6b00485View commit details -
examplebroker: Define authentication modes we support globally
So that we can reuse their ID across the file without further constants
Configuration menu - View commit details
-
Copy full SHA for 28aea30 - Browse repository at this point
Copy the full SHA 28aea30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 812c19b - Browse repository at this point
Copy the full SHA 812c19bView commit details -
services/pam: Set qrcode rendering to false if the flag is false
It's what the oidc broker expects to be set in case the rendering is not supported, while we were unsetting the value by default.
Configuration menu - View commit details
-
Copy full SHA for 74c4885 - Browse repository at this point
Copy the full SHA 74c4885View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1406c4c - Browse repository at this point
Copy the full SHA 1406c4cView commit details -
cleanup: Move authd protocol definitions to internal library
We don't need to expose the proto externally, since we are now re-usable so if something of it has to be exposed we should do it manually
Configuration menu - View commit details
-
Copy full SHA for 2c67ae2 - Browse repository at this point
Copy the full SHA 2c67ae2View commit details