C# 클래스 FSNEP.Controllers.AccountController

상속: ApplicationController
파일 보기 프로젝트 열기: ucdavis/FSNEP

Private Properties

프로퍼티 타입 설명
ChangePassword System.Web.Mvc.ActionResult
ChangePassword System.Web.Mvc.ActionResult
ChangeQuestionAnswer System.Web.Mvc.ActionResult
ForgotPassword System.Web.Mvc.ActionResult
LogOn System.Web.Mvc.ActionResult
NewUser System.Web.Mvc.ActionResult
ResetPassword System.Web.Mvc.ActionResult
ValidateChangePassword bool
ValidateLogOn bool

공개 메소드들

메소드 설명
AccountController ( IFormsAuthentication formsAuth, IMembershipService service, IMessageGateway messageGateway ) : System
ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
ChangeQuestionAnswer ( ) : System.Web.Mvc.ActionResult
ChangeQuestionAnswerSuccess ( ) : System.Web.Mvc.ViewResult
ForgotPassword ( ) : System.Web.Mvc.ActionResult

Forgot password will ask the user for their username

LogOff ( ) : System.Web.Mvc.ActionResult
LogOn ( ) : System.Web.Mvc.ActionResult
NewUser ( System.Guid id ) : System.Web.Mvc.ActionResult

Allows a new user to change their password and question/answer given a valid token

ResetPassword ( string id ) : System.Web.Mvc.ActionResult
ResetPasswordSuccess ( ) : System.Web.Mvc.ActionResult

보호된 메소드들

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

비공개 메소드들

메소드 설명
ChangePassword ( ) : System.Web.Mvc.ActionResult
ChangePassword ( string currentPassword, string newPassword, string confirmPassword ) : System.Web.Mvc.ActionResult
ChangeQuestionAnswer ( string username, string password, string newQuestion, string newAnswer ) : System.Web.Mvc.ActionResult
ForgotPassword ( string id ) : System.Web.Mvc.ActionResult
LogOn ( string userName, string password, bool rememberMe, string returnUrl ) : System.Web.Mvc.ActionResult
NewUser ( System.Guid id, NewUserViewModel viewModel ) : System.Web.Mvc.ActionResult
ResetPassword ( string id, string passwordAnswer ) : System.Web.Mvc.ActionResult
ValidateChangePassword ( string currentPassword, string newPassword, string confirmPassword ) : bool
ValidateLogOn ( string userName, string password ) : bool

메소드 상세

AccountController() 공개 메소드

public AccountController ( IFormsAuthentication formsAuth, IMembershipService service, IMessageGateway messageGateway ) : System
formsAuth IFormsAuthentication
service IMembershipService
messageGateway IMessageGateway
리턴 System

ChangePasswordSuccess() 공개 메소드

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

ChangeQuestionAnswer() 공개 메소드

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

ChangeQuestionAnswerSuccess() 공개 메소드

public ChangeQuestionAnswerSuccess ( ) : System.Web.Mvc.ViewResult
리턴 System.Web.Mvc.ViewResult

ForgotPassword() 공개 메소드

Forgot password will ask the user for their username
public ForgotPassword ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

LogOff() 공개 메소드

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

LogOn() 공개 메소드

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

NewUser() 공개 메소드

Allows a new user to change their password and question/answer given a valid token
public NewUser ( System.Guid id ) : System.Web.Mvc.ActionResult
id System.Guid
리턴 System.Web.Mvc.ActionResult

OnActionExecuting() 보호된 메소드

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

ResetPassword() 공개 메소드

public ResetPassword ( string id ) : System.Web.Mvc.ActionResult
id string
리턴 System.Web.Mvc.ActionResult

ResetPasswordSuccess() 공개 메소드

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