Method | Description | |
---|---|---|
AccountController ( IUserProfileRepository userProfileRepository, IAccountMailer accountMailer, ICampaignDonorRepository campaignDonorRepository ) : System | ||
Activate ( string hash, string redirect = "" ) : System.Web.Mvc.RedirectToRouteResult |
Check if activation hash is valid. * If yes, set user profile IsActivated to true and redirect to login * If no, redirect to AwaitingActivation
|
|
AwaitingActivation ( ) : System.Web.Mvc.ActionResult | ||
CalculateSleepSeconds ( int failedLogins, int maxPasswordAttempts ) : int | ||
ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult | ||
ForgotPassword ( ) : System.Web.Mvc.ActionResult | ||
LogOff ( ) : System.Web.Mvc.ActionResult | ||
LogOn ( string returnUrl = "" ) : System.Web.Mvc.ActionResult | ||
Register ( string returnUrl = "" ) : System.Web.Mvc.ActionResult | ||
UpdatePassword ( string hash ) : System.Web.Mvc.ActionResult |
Method | Description | |
---|---|---|
Initialize ( System.Web.Routing.RequestContext requestContext ) : void |
Method | Description | |
---|---|---|
AuthenticateUser ( |
||
ChangePassword ( string returnUrl = "" ) : System.Web.Mvc.ActionResult | ||
MapAuthorizeModel ( UserProfile userProfile, Organization organization, string returnUrl = "" ) : |
||
MapPasswordReset ( UserProfile userProfile ) : PasswordResetModel | ||
MapWelcomeModel ( UserProfile userProfile, Organization organization ) : WelcomeModel | ||
PasswordChangeFailed ( |
||
RegisterUser ( |
||
SavePassword ( |
||
SendAuthorizationNote ( |
||
SendPasswordReset ( |
||
UpdateForgottenPassword ( string hash, |
||
ValidateLogon ( UserProfile userProfile, |
public AccountController ( IUserProfileRepository userProfileRepository, IAccountMailer accountMailer, ICampaignDonorRepository campaignDonorRepository ) : System | ||
userProfileRepository | IUserProfileRepository | |
accountMailer | IAccountMailer | |
campaignDonorRepository | ICampaignDonorRepository | |
return | System |
public Activate ( string hash, string redirect = "" ) : System.Web.Mvc.RedirectToRouteResult | ||
hash | string | ashed string to compare |
redirect | string | |
return | System.Web.Mvc.RedirectToRouteResult |
public AwaitingActivation ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public CalculateSleepSeconds ( int failedLogins, int maxPasswordAttempts ) : int | ||
failedLogins | int | |
maxPasswordAttempts | int | |
return | int |
public ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public ForgotPassword ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
protected Initialize ( System.Web.Routing.RequestContext requestContext ) : void | ||
requestContext | System.Web.Routing.RequestContext | |
return | void |
public LogOff ( ) : System.Web.Mvc.ActionResult | ||
return | System.Web.Mvc.ActionResult |
public LogOn ( string returnUrl = "" ) : System.Web.Mvc.ActionResult | ||
returnUrl | string | |
return | System.Web.Mvc.ActionResult |
public Register ( string returnUrl = "" ) : System.Web.Mvc.ActionResult | ||
returnUrl | string | |
return | System.Web.Mvc.ActionResult |
public UpdatePassword ( string hash ) : System.Web.Mvc.ActionResult | ||
hash | string | |
return | System.Web.Mvc.ActionResult |