Skip to content

Refactor JWT provider loop to use LINQ Select#729

Merged
ziagham merged 1 commit intoflowsynx:masterfrom
djzh23:refactor/jwtproviders-linq-select
Nov 17, 2025
Merged

Refactor JWT provider loop to use LINQ Select#729
ziagham merged 1 commit intoflowsynx:masterfrom
djzh23:refactor/jwtproviders-linq-select

Conversation

@djzh23
Copy link
Copy Markdown
Contributor

@djzh23 djzh23 commented Nov 17, 2025

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

This PR refactors the loop over JwtProviders in AuthenticationConfiguration
to use JwtProviders.Select(jwt => jwt.Name).

This improves readability, reduces boilerplate, and makes the intent
(extracting provider names) clearer.

Issue reference

Closes #723

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Unit tests passing
  • End-to-end tests passing
  • Extended the documentation / Created issue in flowsynx/website#
  • Specification has been updated / Created issue in flowsynx/website#
  • Provided sample for the feature / Created issue in flowsynx/website#

@djzh23 djzh23 requested review from a team as code owners November 17, 2025 20:36
@sonarqubecloud
Copy link
Copy Markdown

@ziagham ziagham merged commit edfec1d into flowsynx:master Nov 17, 2025
4 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.

Simplify foreach loop by using LINQ Select

2 participants