C# Class TicTacToe.Web.Controllers.AccountController

Inheritance: ApiController
Datei anzeigen Open project: jschementi/mix09

Public Methods

Method Description
AccountController ( ) : System
AccountController ( IFormsAuthentication formsAuth, IMembershipService service ) : System
ChangePasswordSuccess ( ) : ActionResult
LogOff ( ) : ActionResult
LogOn ( ) : ActionResult
Register ( ) : ActionResult

Protected Methods

Method Description
OnActionExecuting ( ActionExecutingContext filterContext ) : void

Private Methods

Method Description
ChangePassword ( ) : ActionResult
ChangePassword ( string currentPassword, string newPassword, string confirmPassword ) : ActionResult
ErrorCodeToString ( MembershipCreateStatus createStatus ) : string
LogOn ( string userName, string password, bool rememberMe, string returnUrl ) : ActionResult
Register ( string userName, string email, string password, string confirmPassword ) : 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 ( ) : ActionResult
return ActionResult

LogOff() public method

public LogOff ( ) : ActionResult
return ActionResult

LogOn() public method

public LogOn ( ) : ActionResult
return ActionResult

OnActionExecuting() protected method

protected OnActionExecuting ( ActionExecutingContext filterContext ) : void
filterContext ActionExecutingContext
return void

Register() public method

public Register ( ) : ActionResult
return ActionResult