C# 클래스 StateManagement.Controllers.AccountController

상속: Controller
파일 보기 프로젝트 열기: jeffreypalermo/mvc2inaction

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

비공개 메소드들

메소드 설명
ChangePassword ( string currentPassword, string newPassword, string confirmPassword ) : System.Web.Mvc.ActionResult

메소드 상세

AccountController() 공개 메소드

public AccountController ( ) : System
리턴 System

AccountController() 공개 메소드

public AccountController ( IFormsAuthentication formsAuth, MembershipProvider provider ) : System
formsAuth IFormsAuthentication
provider System.Web.Security.MembershipProvider
리턴 System

ChangePasswordSuccess() 공개 메소드

public ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

ErrorCodeToString() 공개 정적인 메소드

public static ErrorCodeToString ( MembershipCreateStatus createStatus ) : string
createStatus MembershipCreateStatus
리턴 string

Login() 공개 메소드

public Login ( string username, string password, bool rememberMe ) : System.Web.Mvc.ActionResult
username string
password string
rememberMe bool
리턴 System.Web.Mvc.ActionResult

Logout() 공개 메소드

public Logout ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

OnActionExecuting() 보호된 메소드

protected OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
리턴 void

Register() 공개 메소드

public Register ( string username, string email, string password, string confirmPassword ) : System.Web.Mvc.ActionResult
username string
email string
password string
confirmPassword string
리턴 System.Web.Mvc.ActionResult