Skip to content

feat: Track utilized auth services #203

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

Merged
merged 5 commits into from
May 12, 2025
Merged

feat: Track utilized auth services #203

merged 5 commits into from
May 12, 2025

Conversation

anubhav756
Copy link
Contributor

@anubhav756 anubhav756 commented May 1, 2025

This PR expands the identify_required_authn_params helper function. Previously, it only identified missing auth params based on requirements and available token getters.

Now, the helper also returns a list of the auth token getters that were actually used during the identification process.

Note

This enhancement is a preparatory step for implementing strict flag validation in an upcoming PR, allowing us to determine if all provided auth getters were necessary.

@anubhav756 anubhav756 self-assigned this May 1, 2025
@anubhav756 anubhav756 requested a review from a team as a code owner May 1, 2025 04:08
@anubhav756 anubhav756 force-pushed the anubhav-re-bind-error branch from 1488cb7 to 9c03dac Compare May 2, 2025 06:11
@anubhav756 anubhav756 force-pushed the anubhav-used-params branch from 4995d2f to 8b5e777 Compare May 2, 2025 13:34
@anubhav756 anubhav756 force-pushed the anubhav-re-bind-error branch from 9c03dac to f6301bd Compare May 5, 2025 08:24
@anubhav756 anubhav756 force-pushed the anubhav-used-params branch from 8b5e777 to ef02615 Compare May 5, 2025 08:25
@anubhav756 anubhav756 force-pushed the anubhav-re-bind-error branch from f6301bd to af85f09 Compare May 5, 2025 13:30
@anubhav756 anubhav756 force-pushed the anubhav-used-params branch from ef02615 to 684f744 Compare May 5, 2025 14:19
@anubhav756 anubhav756 force-pushed the anubhav-re-bind-error branch from af85f09 to 574e39f Compare May 12, 2025 11:58
@anubhav756 anubhav756 force-pushed the anubhav-used-params branch from 684f744 to e96a22f Compare May 12, 2025 12:01
Base automatically changed from anubhav-re-bind-error to main May 12, 2025 12:05
We will remove this once we actually implement the `strict` flag and centralize this functionality by moving this check to the tool's constructor in a future PR.
This PR expands the `identify_required_authn_params` helper function. Previously, it only identified missing auth params based on requirements and available token getters.

Now, the helper also returns a list of the auth token getters that were actually used during the identification process.

> [!NOTE]
> This enhancement is a preparatory step for implementing `strict` flag validation in an upcoming PR, allowing us to determine if all provided authentication methods were necessary.
This makes it more readable.
@anubhav756 anubhav756 force-pushed the anubhav-used-params branch from e96a22f to 4738f4d Compare May 12, 2025 12:29
@anubhav756 anubhav756 merged commit 527369c into main May 12, 2025
19 checks passed
@anubhav756 anubhav756 deleted the anubhav-used-params branch May 12, 2025 12:32
@release-please release-please bot mentioned this pull request May 12, 2025
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.

2 participants