Skip to content

refactor: Move auth extractors into authentication module#1547

Open
tpoliaw wants to merge 1 commit into
mainfrom
auth-checks
Open

refactor: Move auth extractors into authentication module#1547
tpoliaw wants to merge 1 commit into
mainfrom
auth-checks

Conversation

@tpoliaw
Copy link
Copy Markdown
Contributor

@tpoliaw tpoliaw commented May 28, 2026

Splitting up the auth extractor method allows other extractors to access the raw token as well as easy access to the validated and decoded access token.

@tpoliaw tpoliaw requested a review from a team as a code owner May 28, 2026 17:30
@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.63%. Comparing base (ab2ebc6) to head (3b5b8a2).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1547      +/-   ##
==========================================
+ Coverage   95.61%   95.63%   +0.01%     
==========================================
  Files          43       43              
  Lines        3214     3228      +14     
==========================================
+ Hits         3073     3087      +14     
  Misses        141      141              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tpoliaw tpoliaw changed the base branch from opa-client to main May 29, 2026 10:18
And split the auth check into two so that other methods can access the
raw bearer token if required.
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