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

ref(token): Separate validation warning from parsing #2113

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

szokeasaurusrex
Copy link
Member

Separate logic for issuing the invalid auth token format validation warning from the parsing logic. This will allow us in the future to test whether a certain string might be an auth token without logging a warning.

src/utils/value_parsers.rs Outdated Show resolved Hide resolved
src/utils/value_parsers.rs Outdated Show resolved Hide resolved
src/utils/value_parsers.rs Outdated Show resolved Hide resolved
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/auth-token-validation branch from ffc4230 to bd83744 Compare August 1, 2024 12:44
Separate logic for issuing the invalid auth token format validation warning from the parsing logic. This will allow us in the future to test whether a certain string might be an auth token without logging a warning.
@szokeasaurusrex szokeasaurusrex force-pushed the szokeasaurusrex/auth-token-validation branch from bd83744 to 8ce98a0 Compare August 1, 2024 12:47
@szokeasaurusrex szokeasaurusrex merged commit 8ce98a0 into master Aug 1, 2024
14 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/auth-token-validation branch August 1, 2024 12:57
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.

3 participants