-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Feat/addedISJWTExpiriation #2315
base: master
Are you sure you want to change the base?
Conversation
…tion time of JWTs
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2315 +/- ##
==========================================
- Coverage 99.95% 99.55% -0.41%
==========================================
Files 107 108 +1
Lines 2454 2461 +7
Branches 619 621 +2
==========================================
- Hits 2453 2450 -3
- Misses 0 10 +10
Partials 1 1
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ISJWTEXPIRATION FUNCTION CHECKS ON BASIS OF EXP FLAG
I have added a new function called isJWTExpiration. This function is designed to check if a JSON Web Token (JWT) has expired based on its "exp" (expiration) claim. It parses the JWT payload, extracts the "exp" claim, and compares it to the current timestamp to determine if the token has expired.
#2298
Checklist