C# Class Attacker.Controllers.AccountController

Inheritance: Controller
Afficher le fichier Open project: jeffreypalermo/mvc2inaction

Méthodes publiques

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

Méthodes protégées

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

Private Methods

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

public AccountController ( ) : System
Résultat System

AccountController() public méthode

public AccountController ( IFormsAuthentication formsAuth, IMembershipService service ) : System
formsAuth IFormsAuthentication
service IMembershipService
Résultat System

ChangePasswordSuccess() public méthode

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

LogOff() public méthode

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

LogOn() public méthode

public LogOn ( ) : 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 ( ) : System.Web.Mvc.ActionResult
Résultat System.Web.Mvc.ActionResult