Skip to content

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

Merged
gustavomarques00 merged 1 commit into
mainfrom
docs/update-jwt-auth-public-api-clean
Jun 3, 2026
Merged

docs: align jwt-auth README with public API#27
gustavomarques00 merged 1 commit into
mainfrom
docs/update-jwt-auth-public-api-clean

Conversation

@gustavomarques00
Copy link
Copy Markdown
Contributor

Summary

Reopens the jwt-auth README correction on top of the current main branch after PR #26 was merged.

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 the outdated note saying protectWithRoles was not part of the public API.
  • Updates the roadmap to mark role middleware as exported.

Validation

Documentation-only change.

@gustavomarques00 gustavomarques00 merged commit 0cd6fb2 into main Jun 3, 2026
1 check passed
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