Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed mentions of CookieAuthentication class from

  • Loading branch information...
commit 4a9d409031df68430aec7339a424196a93effed3 1 parent 5a490cc
@mehrdada mehrdada authored
Showing with 4 additions and 3 deletions.
  1. +4 −3
@@ -50,10 +50,11 @@ In code, you need to add a `using` directive:
using AppHarbor.Web.Security;
and instead of using `FormsAuthentication` class (and its `SetAuthCookie`
-and `SignOut` methods), you should use [`CookieAuthentication`](
+and `SignOut` methods), you should use an instance of [`CookieAuthenticator`]( class:
- CookieAuthentication.SetAuthCookie(userName, rememberMe);
- CookieAuthentication.SignOut();
+ IAuthenticator authenticator = new CookieAuthenticator(); // or grab one from your IoC container
+ authenticator.SetCookie(userName, rememberMe);
+ authenticator.SignOut();
# How It Works #
Please sign in to comment.
Something went wrong with that request. Please try again.