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

Implement a new method, **isJWTExpiration**, to validate the expiration of JWTs using the "exp" claim. #2298

Open
P-1000 opened this issue Oct 1, 2023 · 1 comment

Comments

@P-1000
Copy link

P-1000 commented Oct 1, 2023

Feature Request: Implement isJWTExpiration Method

Description:
I would like to propose the addition of a new method called isJWTExpiration to the library. This method would serve the purpose of validating JSON Web Tokens (JWTs) based on their "exp" claim, which denotes the token's expiration timestamp.

Implementation Details:
The isJWTExpiration method would accept a JWT as input and return true if the token is still valid (i.e., it has not expired), and false if it has expired. It should compare the "exp" claim of the JWT to the current timestamp to make this determination.

Requested Action:
I kindly request that this feature request be assigned to me. I am interested in contributing to the project and would be enthusiastic about implementing this feature.

@VatsalBhuva11
Copy link

VatsalBhuva11 commented Oct 4, 2023

@P-1000 Can I work on this issue? Or are you still on it?

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

No branches or pull requests

2 participants