C# Класс Cats.Areas.Hub.Controllers.AccountController

Наследование: BaseController
Показать файл Открыть проект

Открытые методы

Метод Описание
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