using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Code.Security { public class RESTSecurityManager { public static bool IsTokenValid(string token) { bool result = false; try { TokenManager m = new TokenManager(); result=m.ValidateToken(token); } catch (Exception dd) { } return result; } } }