C# Class SampleWebApplication.Controllers.AccountController

Inheritance: BaseController
Mostra file Open project: Sinbadsoft/Sinbadsoft.Lib.UserManagement

Private Properties

Property Type Description
ChangePassword System.Web.Mvc.ActionResult
ChangePassword System.Web.Mvc.ActionResult
LogOn System.Web.Mvc.ActionResult
Register System.Web.Mvc.ActionResult
RegisterCodeToErrorString string
SendVerificationEmail void

Public Methods

Method Description
AccountController ( ) : System
ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
LogOff ( ) : System.Web.Mvc.ActionResult
LogOn ( ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult
Verify ( int id, string token ) : System.Web.Mvc.ActionResult

Validate the token sent to the user by email.

Private Methods

Method Description
ChangePassword ( ) : System.Web.Mvc.ActionResult
ChangePassword ( ChangePasswordModel model ) : System.Web.Mvc.ActionResult
LogOn ( LogOnModel model, string returnUrl ) : System.Web.Mvc.ActionResult
Register ( RegisterModel model ) : System.Web.Mvc.ActionResult
RegisterCodeToErrorString ( RegisterResult createStatus ) : string
SendVerificationEmail ( int id, string email, string token ) : void

Method Details

AccountController() public method

public AccountController ( ) : System
return System

ChangePasswordSuccess() public method

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

LogOff() public method

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

LogOn() public method

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

Register() public method

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

Verify() public method

Validate the token sent to the user by email.
public Verify ( int id, string token ) : System.Web.Mvc.ActionResult
id int
token string
return System.Web.Mvc.ActionResult