C# Class BurningPlage.Controllers.AccountController

Inheritance: Controller
Mostrar archivo Open project: claco/mvc-marathon

Public Methods

Method Description
AccountController ( ) : System
AccountController ( IFormsAuthentication formsAuth, MembershipProvider provider ) : System
ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
ErrorCodeToString ( MembershipCreateStatus createStatus ) : string
Login ( string username, string password, bool rememberMe ) : System.Web.Mvc.ActionResult
Logout ( ) : System.Web.Mvc.ActionResult
Register ( string username, string email, string password, string confirmPassword ) : System.Web.Mvc.ActionResult

Protected Methods

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

Private Methods

Method Description
ChangePassword ( string currentPassword, string newPassword, 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

ErrorCodeToString() public static method

public static ErrorCodeToString ( MembershipCreateStatus createStatus ) : string
createStatus MembershipCreateStatus
return string

Login() public method

public Login ( string username, string password, bool rememberMe ) : System.Web.Mvc.ActionResult
username string
password string
rememberMe bool
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 ( string username, string email, string password, string confirmPassword ) : System.Web.Mvc.ActionResult
username string
email string
password string
confirmPassword string
return System.Web.Mvc.ActionResult