Skip to content

docs: align jwt-auth README with public API#23

Closed
gustavomarques00 wants to merge 1 commit into
mainfrom
docs/update-jwt-auth-public-api
Closed

docs: align jwt-auth README with public API#23
gustavomarques00 wants to merge 1 commit into
mainfrom
docs/update-jwt-auth-public-api

Conversation

@gustavomarques00
Copy link
Copy Markdown
Contributor

Summary

Aligns README with the current public package API after protectWithRoles was exported.

Changes

  • Adds role-based authorization to the package description and recruiter summary.
  • Adds middleware.protectWithRoles(roles) to the public API reference table.
  • Adds a role-based route usage example.
  • Removes outdated note saying protectWithRoles was not part of the public API.
  • Updates roadmap to mark role middleware as exported.

Validation

Documentation-only change.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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