Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kbs/token: add token expiration time checking
Every JWT should have an `exp` field in the claims body, which defines the expired time of itself. This check avoids a token to be used endlessly. Signed-off-by: Xynnn007 <[email protected]>
- Loading branch information