C# Class AssessmentAnywhere.Controllers.AccountController

Inheritance: Controller
Show file Open project: pebblecode/AssessmentAnywhere

Public Methods

Method Description
AccountController ( IUserRepo userRepo, IAccountActivationService accountActivationService, Func accountMailer, AccountFeatures features ) : System
ActivateAccount ( string username, string code ) : System.Web.Mvc.ActionResult
ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult
SignIn ( ) : System.Web.Mvc.ActionResult
SignOut ( ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
AwaitingAccountActivation ( string username ) : System.Web.Mvc.ActionResult
ChangePassword ( ) : System.Web.Mvc.ActionResult
ChangePassword ( ChangePasswordModel model ) : System.Web.Mvc.ActionResult
Register ( RegisterModel model ) : System.Web.Mvc.ActionResult
ResendActivationEmail ( string username ) : System.Web.Mvc.ActionResult
SignIn ( LogOnModel model, string returnUrl ) : System.Web.Mvc.ActionResult

Method Details

AccountController() public method

public AccountController ( IUserRepo userRepo, IAccountActivationService accountActivationService, Func accountMailer, AccountFeatures features ) : System
userRepo IUserRepo
accountActivationService IAccountActivationService
accountMailer Func
features AssessmentAnywhere.Features.AccountFeatures
return System

ActivateAccount() public method

public ActivateAccount ( string username, string code ) : System.Web.Mvc.ActionResult
username string
code string
return System.Web.Mvc.ActionResult

ChangePasswordSuccess() public method

public ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Register() public method

public Register ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

SignIn() public method

public SignIn ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

SignOut() public method

public SignOut ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult