C# Class Sitemaps.Controllers.AccountController

Inheritance: Controller
Show file Open project: jeffreypalermo/mvc2inaction

Public Methods

Method Description
AccountController ( ) : System
AccountController ( IFormsAuthentication formsAuth, MembershipProvider provider ) : System
ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
Login ( ) : System.Web.Mvc.ActionResult
Logout ( ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult

Protected Methods

Method Description
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Private Methods

Method Description
ChangePassword ( ) : System.Web.Mvc.ActionResult
ChangePassword ( string currentPassword, string newPassword, string confirmPassword ) : System.Web.Mvc.ActionResult
ErrorCodeToString ( MembershipCreateStatus createStatus ) : string
Login ( string username, string password, bool rememberMe, string returnUrl ) : System.Web.Mvc.ActionResult
Register ( string username, string email, string password, string confirmPassword ) : System.Web.Mvc.ActionResult

Method Details

AccountController() public method

public AccountController ( ) : System
return System

AccountController() public method

public AccountController ( IFormsAuthentication formsAuth, MembershipProvider provider ) : System
formsAuth IFormsAuthentication
provider System.Web.Security.MembershipProvider
return System

ChangePasswordSuccess() public method

public ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Login() public method

public Login ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Logout() public method

public Logout ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

OnActionExecuting() protected method

protected OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
return void

Register() public method

public Register ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult