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

Feat/added is jwt expiration #2314

Closed
wants to merge 6 commits into from

Conversation

P-1000
Copy link

@P-1000 P-1000 commented Oct 7, 2023

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

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

@P-1000 P-1000 closed this Oct 7, 2023
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