public void Context() { File.WriteAllText(AuthenticationCookiePersister.PersistentCookiePath, "nonsence nonsence nonsence nonsence nonsence nonsence nonsence"); var authenticationCookiePersister = new AuthenticationCookiePersister(); _cookie = authenticationCookiePersister.GetPersistentAuthenticationCookie(); }
public void Context() { File.Delete(AuthenticationCookiePersister.PersistentCookiePath); var authenticationCookiePersister = new AuthenticationCookiePersister(); _cookie = authenticationCookiePersister.GetPersistentAuthenticationCookie(); }
public void Context() { var authenticationCookiePersister = new AuthenticationCookiePersister(); _savedCookie = new Cookie(CookieName, CookieValue); authenticationCookiePersister.SetPersistentAuthenticationCookie(_savedCookie); authenticationCookiePersister = new AuthenticationCookiePersister(); _retrievedCookie = authenticationCookiePersister.GetPersistentAuthenticationCookie(); }
public void Context() { _authenticationCookiePersister = new AuthenticationCookiePersister(); }