C# Class WebBase.Controllers.AccountController

Inheritance: Controller
Exibir arquivo Open project: sztupy/shaml

Public Methods

Method Description
AccountController ( ) : System
AccountController ( IFormsAuthentication formsAuth, IMembershipService service ) : System
ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
LogOff ( ) : System.Web.Mvc.ActionResult
LogOn ( ) : 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
LogOn ( 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
ValidateChangePassword ( string currentPassword, string newPassword, string confirmPassword ) : bool
ValidateLogOn ( string userName, string password ) : bool
ValidateRegistration ( string userName, string email, string password, string confirmPassword ) : bool

Method Details

AccountController() public method

public AccountController ( ) : System
return System

AccountController() public method

public AccountController ( IFormsAuthentication formsAuth, IMembershipService service ) : System
formsAuth IFormsAuthentication
service IMembershipService
return System

ChangePasswordSuccess() public method

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

LogOff() public method

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

LogOn() public method

public LogOn ( ) : 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