C# Class BurningPlage.Controllers.AccountController

Inheritance: Controller
Afficher le fichier Open project: claco/mvc-marathon

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Private Methods

Méthode Description
ChangePassword ( string currentPassword, string newPassword, string confirmPassword ) : System.Web.Mvc.ActionResult

Method Details

AccountController() public méthode

public AccountController ( ) : System
Résultat System

AccountController() public méthode

public AccountController ( IFormsAuthentication formsAuth, MembershipProvider provider ) : System
formsAuth IFormsAuthentication
provider System.Web.Security.MembershipProvider
Résultat System

ChangePasswordSuccess() public méthode

public ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

ErrorCodeToString() public static méthode

public static ErrorCodeToString ( MembershipCreateStatus createStatus ) : string
createStatus MembershipCreateStatus
Résultat string

Login() public méthode

public Login ( string username, string password, bool rememberMe ) : System.Web.Mvc.ActionResult
username string
password string
rememberMe bool
Résultat System.Web.Mvc.ActionResult

Logout() public méthode

public Logout ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult

OnActionExecuting() protected méthode

protected OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
Résultat void

Register() public méthode

public Register ( string username, string email, string password, string confirmPassword ) : System.Web.Mvc.ActionResult
username string
email string
password string
confirmPassword string
Résultat System.Web.Mvc.ActionResult