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

Refactor authentication check to no longer trap #1623

Merged
merged 2 commits into from
May 22, 2023

Conversation

frederikrothenberger
Copy link
Member

This PR changes the authentication check to return a Result instead of trapping. This refactoring is a prerequisite to introduce authentication failure as a proper error in the v2 API.

This PR changes the authentication check to return a `Result`
instead of trapping. This refactoring is a prerequisite to
introduce authentication failure as a proper error in the v2 API.
Copy link
Collaborator

@przydatek przydatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@frederikrothenberger frederikrothenberger added this pull request to the merge queue May 22, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 22, 2023
@frederikrothenberger frederikrothenberger added this pull request to the merge queue May 22, 2023
Merged via the queue into main with commit 62b35e0 May 22, 2023
@frederikrothenberger frederikrothenberger deleted the frederik/refactor-authn branch May 22, 2023 11:25
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