Skip to content

Conversation

@MrCreosote
Copy link
Member

No description provided.

@MrCreosote MrCreosote requested a review from dauglyon January 22, 2026 19:57
@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5517232) to head (2c53c64).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          277       299   +22     
=========================================
+ Hits           277       299   +22     

☔ 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.

Comment on lines +75 to +82
_STR2TYPE = {
"login": TokenType.LOGIN,
"agent": TokenType.AGENT,
"developer": TokenType.DEVELOPER,
"service": TokenType.SERVICE,
}


Choose a reason for hiding this comment

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

seems to be equivalent to _STR2TYPE = {t.name.lower(): t for t in TokenType}

Copy link
Member Author

Choose a reason for hiding this comment

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

I think I'm going to leave it as is just because the mfa enum is done the same way and the input names aren't just lower case of the MFA enum names

Copy link

@dauglyon dauglyon left a comment

Choose a reason for hiding this comment

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

LGTM, values match auth2 token type enum, tests cover. One extremely minor comment.

@MrCreosote MrCreosote merged commit a436bf0 into main Jan 22, 2026
5 checks passed
@MrCreosote MrCreosote deleted the dev-client branch January 22, 2026 20: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.

3 participants