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

#335: JWTBearer dependency replace with type alias #336

Merged

Conversation

AntonioMrtz
Copy link
Owner

Description

Replace the declaration of JWTBearer on every endpoint with a type alias

Commit type

Refactor

Issue

#335

Proposed Changes

  • Replace dependency injection declaration of every endpoint with a common type alias for Token = Annotated[TokenData, Depends(JWTBearer())]

Potential Impact

Screenshots

Additional Tasks

Assigned

@AntonioMrtz

@AntonioMrtz AntonioMrtz linked an issue Feb 28, 2025 that may be closed by this pull request
@AntonioMrtz AntonioMrtz self-assigned this Feb 28, 2025
@AntonioMrtz AntonioMrtz merged commit 5af7994 into master Feb 28, 2025
11 checks passed
@AntonioMrtz AntonioMrtz deleted the feat/335-jwtbearer-dependency-replace-with-type-alias branch February 28, 2025 17:52
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.

JWTBearer dependency replace with type alias
1 participant