feat(pollux): support both 'jwt' and 'prism/jwt' credential formats (#444)
Signed-off-by: Abhigyan Singh <[email protected]>
Signed-off-by: Abhigyan Singh <[email protected]>
Adds exp claim validation to JWT.verify. Previously, JWT.verify validated the signature and DIDs but allowed expired JWTs to return true. This fix ensures that if an exp claim is present, it is validated against the current timestamp, returning false if the JWT is expired, while preserving the existing behavior for JWTs missing the exp claim. Fixes #489 Signed-off-by: YATIN JAMWAL <[email protected]>
Signed-off-by: Zaid <[email protected]>
Signed-off-by: Zaid <[email protected]>
Signed-off-by: Ritesh Pandit <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>
Signed-off-by: Allain Magyar <[email protected]>