public static bool IsTokenExpired(long?pkSystemUser) { var user = users.ContainsKey(pkSystemUser) ? users[pkSystemUser] : null; if (user != null) { return(JWT.IsTokenExpired(user.ExpiryInUlong)); } return(true); }
public static bool IsTokenExpired(long?pkSystemUser) { var user = users.ContainsKey(pkSystemUser) ? users[pkSystemUser] : null; if (user != null) { return(JWT.IsTokenExpired(user.ExpiryInUlong)); } return(true); }