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