C# 클래스 Cats.Areas.Hub.Controllers.AccountController

상속: BaseController
파일 보기 프로젝트 열기: edgecomputing/cats

공개 메소드들

메소드 설명
AccountController ( IMembershipWrapper membershipObject, IFormsAuthenticationWrapper formsAuthenticationObject, IUserProfileService userProfileService, Cats.Services.Hub.IForgetPasswordRequestService forgetPasswordRequestService, Cats.Services.Hub.ISettingService settingService, IUserAccountService userAccountService, log4net.ILog log ) : System

Initializes a new instance of the AccountController class.

Initializes a new instance of the AccountController class.

ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult

Shows password success page

ConfirmPasswordChange ( ) : System.Web.Mvc.ActionResult

Confirms the password change.

ForgetPassword ( string key ) : System.Web.Mvc.ActionResult
ForgetPasswordRequest ( ) : System.Web.Mvc.ActionResult

Shows the Forget password page for the first time.

ISValidUserName ( string userName ) : System.Web.Mvc.ActionResult
LogOff ( ) : System.Web.Mvc.ActionResult

Logs off.

LogOn ( ) : System.Web.Mvc.ActionResult

Shows Logs the form.

NotUnique ( string UserName ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult

Registers this instance.

보호된 메소드들

메소드 설명
Initialize ( System.Web.Routing.RequestContext requestContext ) : void

Initializes data that might not be available when the constructor is called.

비공개 메소드들

메소드 설명
ChangePassword ( ) : System.Web.Mvc.ActionResult
ChangePassword ( ChangePasswordModel model ) : System.Web.Mvc.ActionResult
ChangeUserSettings ( UserPreferenceViewModel model ) : System.Web.Mvc.ActionResult
ErrorCodeToString ( MembershipCreateStatus createStatus ) : string
ForgetPassword ( ForgotPasswordModel model ) : System.Web.Mvc.ActionResult
ForgetPasswordRequest ( ForgotPasswordRequestModel model ) : System.Web.Mvc.ActionResult
LogOn ( LogOnModel model, string returnUrl = "" ) : System.Web.Mvc.ActionResult
RedirectToLocal ( string returnUrl ) : System.Web.Mvc.ActionResult
Register ( RegisterModel model ) : System.Web.Mvc.ActionResult

메소드 상세

AccountController() 공개 메소드

Initializes a new instance of the AccountController class. Initializes a new instance of the AccountController class.
public AccountController ( IMembershipWrapper membershipObject, IFormsAuthenticationWrapper formsAuthenticationObject, IUserProfileService userProfileService, Cats.Services.Hub.IForgetPasswordRequestService forgetPasswordRequestService, Cats.Services.Hub.ISettingService settingService, IUserAccountService userAccountService, log4net.ILog log ) : System
membershipObject IMembershipWrapper The membership object.
formsAuthenticationObject IFormsAuthenticationWrapper The forms authentication object.
userProfileService IUserProfileService
forgetPasswordRequestService Cats.Services.Hub.IForgetPasswordRequestService
settingService Cats.Services.Hub.ISettingService
userAccountService IUserAccountService
log log4net.ILog
리턴 System

ChangePasswordSuccess() 공개 메소드

Shows password success page
public ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

ConfirmPasswordChange() 공개 메소드

Confirms the password change.
public ConfirmPasswordChange ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

ForgetPassword() 공개 메소드

public ForgetPassword ( string key ) : System.Web.Mvc.ActionResult
key string
리턴 System.Web.Mvc.ActionResult

ForgetPasswordRequest() 공개 메소드

Shows the Forget password page for the first time.
public ForgetPasswordRequest ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

ISValidUserName() 공개 메소드

public ISValidUserName ( string userName ) : System.Web.Mvc.ActionResult
userName string
리턴 System.Web.Mvc.ActionResult

Initialize() 보호된 메소드

Initializes data that might not be available when the constructor is called.
protected Initialize ( System.Web.Routing.RequestContext requestContext ) : void
requestContext System.Web.Routing.RequestContext The HTTP context and route data.
리턴 void

LogOff() 공개 메소드

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

LogOn() 공개 메소드

Shows Logs the form.
public LogOn ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

NotUnique() 공개 메소드

public NotUnique ( string UserName ) : System.Web.Mvc.ActionResult
UserName string
리턴 System.Web.Mvc.ActionResult

Register() 공개 메소드

Registers this instance.
public Register ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult