Skip to content
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

Features #166

Merged
merged 6 commits into from
Nov 20, 2024
Merged

Features #166

merged 6 commits into from
Nov 20, 2024

Conversation

croessner
Copy link
Owner

No description provided.

Christian Roessner added 6 commits November 19, 2024 21:15
Refactored client fields in `JSONRequest` struct to be optional using `omitempty` tag. Added several new SSL/TLS fields to support enhanced authentication details. Removed return value from `setAuthenticationFields` function and updated code accordingly.

Signed-off-by: Christian Roessner <[email protected]>
Replaced the Service field with Protocol in the auth structure. This change utilizes the NewProtocol function to set the Protocol field, enhancing clarity and specificity.

Signed-off-by: Christian Roessner <[email protected]>
Reorganize the placement of the authentication cache headers to follow successful authentication. Update the caching header names for better clarity and consolidate redundant conditions. Remove the unnecessary "X-User-Found" header.

Signed-off-by: Christian Roessner <[email protected]>
Renamed the setUserInfoHeaders function to sendAuthResponse for clarity and consolidated the functionality into a single method. Simplified comments and adjusted all references to reflect this change, improving the code's readability and maintainability.

Signed-off-by: Christian Roessner <[email protected]>
Removed unnecessary 'logKey' and 'logger' variables from the logger middleware. Simplified the logging statement by using constants directly, improving code clarity and maintainability.

Signed-off-by: Christian Roessner <[email protected]>
Enhanced JSON binding by adding required field validators and IP address format checks in structures. Introduced `handleJSONError` method for clearer validation error messages and refactored existing JSON parsing logic to use it.

Signed-off-by: Christian Roessner <[email protected]>
@croessner croessner merged commit f9cdccd into main Nov 20, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant