public void Authenticate(string token) { if (token.Equals(CookieValue, StringComparison.Ordinal)) { _cookieService.Create(new HttpContextWrapper(HttpContext.Current)); } }
public virtual void CreateCookieData(HttpContextBase context, EmployerAccountData data) { CookieService.Create(data, CookieName, 365); }