func IsJWTTokenExpired(tokenString string) bool {
	// Get Claims from Token
	claims := &jwt.StandardClaims{}
	new(jwt.Parser).ParseUnverified(tokenString, claims)

	// Calculate current time sliding window
	now := jwt.TimeFunc()
	ct := (now.Unix() / 30) * 30

	return claims.IssuedAt != ct-30
}
// IsJWTTokenExpired will check if the token is already expired
IsJWTTokenExpired will check if the token is already expired
// IsJWTTokenExpired will check if the token is already expired
func IsJWTTokenExpired(tokenString string) bool {
	claims := &jwt.StandardClaims{}
	new(jwt.Parser).ParseUnverified(tokenString, claims)
	now := jwt.TimeFunc()
	ct := (now.Unix() / 30) * 30
	return claims.IssuedAt != ct-30
}
func IsJWTTokenExpired ( tokenString string ) bool { claims := & jwt . StandardClaims { } new ( jwt . Parser ) . ParseUnverified ( tokenString , claims ) now := jwt . TimeFunc ( ) ct := ( now . Unix ( ) / 30 ) * 30 return claims . IssuedAt != ct - 30 }
IsJWTTokenExpired will check if the token is already expired
IsJWTTokenExpired will check if the token is already expired
// Get Claims from Token // Calculate current time sliding window