private Authenticate ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public ActionResult Authenticate()
{
var userData = new UserData
{
UserId = "users/1",
DisplayName = "Leah Culver",
PictureUri = "/Content/LeahCulverAvatar.png"
};
_customFormsAuthentication.SignIn(userData);
return RedirectToAction("Index", "Home", new {area = ""});
}