C# Class Machete.Web.Controllers.AccountController

Inheritance: Controller
Mostrar archivo Open project: SavageLearning/Machete

Private Properties

Property Type Description
AddErrors void
ChangeExpiredPasswordAsync Task
Delete System.Web.Mvc.ActionResult
DeleteConfirmed System.Web.Mvc.ActionResult
Disassociate Task
Edit System.Web.Mvc.ActionResult
Edit Task
ExternalLogin System.Web.Mvc.ActionResult
ExternalLoginCallback Task
ExternalLoginConfirmation Task
ExternalLoginFailure System.Web.Mvc.ActionResult
GetApplicationID System.Guid
HasPassword bool
HirerSignon System.Web.Mvc.ActionResult
Index System.Web.Mvc.ActionResult
IsInternalUser bool
IsPasswordExpiredAsync Task
LinkLogin System.Web.Mvc.ActionResult
LogOff System.Web.Mvc.ActionResult
Login System.Web.Mvc.ActionResult
Login Task
Manage System.Web.Mvc.ActionResult
Manage Task
RedirectToLocal System.Web.Mvc.ActionResult
Register System.Web.Mvc.ActionResult
Register Task
RemoveAccountList System.Web.Mvc.ActionResult
SignInAsync System.Threading.Tasks.Task
Signup System.Web.Mvc.ActionResult
UserRoles System.Web.Mvc.ActionResult
UserRoles Task

Public Methods

Method Description
AccountController ( IMyUserManager userManager, IDatabaseFactory databaseFactory ) : Machete.Data
ChangeCulture ( string lang, string returnUrl ) : System.Web.Mvc.ActionResult
LinkLoginCallback ( ) : Task

Protected Methods

Method Description
Dispose ( bool disposing ) : void
Initialize ( System.Web.Routing.RequestContext requestContext ) : void

Private Methods

Method Description
AddErrors ( Microsoft.AspNet.Identity.IdentityResult result ) : void
ChangeExpiredPasswordAsync ( string username, string password, string newpassword ) : Task
Delete ( string id = null ) : System.Web.Mvc.ActionResult
DeleteConfirmed ( string id ) : System.Web.Mvc.ActionResult
Disassociate ( string loginProvider, string providerKey ) : Task
Edit ( string id, ManageMessageId Message = null ) : System.Web.Mvc.ActionResult
Edit ( EditUserViewModel model ) : Task
ExternalLogin ( string provider, string returnUrl ) : System.Web.Mvc.ActionResult
ExternalLoginCallback ( string returnUrl ) : Task
ExternalLoginConfirmation ( ExternalLoginConfirmationViewModel model, string returnUrl ) : Task
ExternalLoginFailure ( ) : System.Web.Mvc.ActionResult
GetApplicationID ( ) : System.Guid
HasPassword ( ApplicationUser user ) : bool
HirerSignon ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
IsInternalUser ( ApplicationUser user ) : bool
IsPasswordExpiredAsync ( string username, string password ) : Task
LinkLogin ( string provider ) : System.Web.Mvc.ActionResult
LogOff ( ) : System.Web.Mvc.ActionResult
Login ( string returnUrl ) : System.Web.Mvc.ActionResult
Login ( LoginViewModel model, string returnUrl ) : Task
Manage ( ManageMessageId message ) : System.Web.Mvc.ActionResult
Manage ( ManageUserViewModel model ) : Task
RedirectToLocal ( string returnUrl ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult
Register ( RegisterViewModel model ) : Task
RemoveAccountList ( ) : System.Web.Mvc.ActionResult
SignInAsync ( ApplicationUser user, bool isPersistent ) : System.Threading.Tasks.Task
Signup ( ) : System.Web.Mvc.ActionResult
UserRoles ( string id ) : System.Web.Mvc.ActionResult
UserRoles ( SelectUserRolesViewModel model ) : Task

Method Details

AccountController() public method

public AccountController ( IMyUserManager userManager, IDatabaseFactory databaseFactory ) : Machete.Data
userManager IMyUserManager
databaseFactory IDatabaseFactory
return Machete.Data

ChangeCulture() public method

public ChangeCulture ( string lang, string returnUrl ) : System.Web.Mvc.ActionResult
lang string
returnUrl string
return System.Web.Mvc.ActionResult

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Initialize() protected method

protected Initialize ( System.Web.Routing.RequestContext requestContext ) : void
requestContext System.Web.Routing.RequestContext
return void

LinkLoginCallback() public method

public LinkLoginCallback ( ) : Task
return Task