Skip to content

Comments

fix: update README session docs#159

Merged
mandarini merged 1 commit intomainfrom
chore/update-docs
Feb 19, 2026
Merged

fix: update README session docs#159
mandarini merged 1 commit intomainfrom
chore/update-docs

Conversation

@mandarini
Copy link
Contributor

Update docs

@coderabbitai
Copy link

coderabbitai bot commented Feb 19, 2026

No actionable comments were generated in the recent review. 🎉


📝 Walkthrough

Summary by CodeRabbit

Documentation

  • Enhanced authentication documentation with clearer comparison of three available methods, including their use cases and security boundaries
  • Strengthened security guidance on token validation and proper authorization decision-making
  • Improved recommendations to help developers select the right authentication approach based on specific requirements and data freshness needs

Walkthrough

This pull request updates the README.md documentation to introduce and document a new function called getClaims(). The documentation now presents three related functions—getSession(), getClaims(), and getUser()—alongside their distinct use cases and trust boundaries. getSession() retrieves unverified tokens from cookies, getClaims() validates the access token and returns verified JWT claims, and getUser() fetches the most current user data from the Auth server. The changes clarify when each function should be used and emphasize the security considerations for authorization decisions.


Comment @coderabbitai help to get the list of available commands and usage tips.

@mandarini mandarini merged commit b859905 into main Feb 19, 2026
5 checks passed
@mandarini mandarini deleted the chore/update-docs branch February 19, 2026 15:39
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.

2 participants