updated jsvm types

This commit is contained in:
Gani Georgiev
2026-03-11 11:27:06 +02:00
parent 70d8d1ee9d
commit cea149cb6e
2 changed files with 4673 additions and 4673 deletions

View File

File diff suppressed because it is too large Load Diff

View File

@@ -46,7 +46,7 @@ func ParseJWT(token string, verificationKey string) (jwt.MapClaims, error) {
func NewJWT(payload jwt.MapClaims, signingKey string, duration time.Duration) (string, error) {
claims := jwt.MapClaims{
// @todo consider with the refactoring to either remove the
// duration argument or make it always take precedent?
// duration argument or make it always take precedence?
"exp": time.Now().Add(duration).Unix(),
}