C# Class SnakeBattleNet.Web.Controllers.AccountController

Inheritance: Controller
显示文件 Open project: FoC-/SnakeBattle.Net

Public Methods

Method Description
AccountController ( UserManager userManager, IAuthenticationManager authenticationManager ) : System.Threading.Tasks
Index ( ) : Task

Private Methods

Method Description
AddErrors ( Microsoft.AspNet.Identity.IdentityResult result ) : void
Login ( string returnUrl ) : System.Web.Mvc.ActionResult
Login ( LoginViewModel model, string returnUrl ) : Task
Logout ( ) : System.Web.Mvc.ActionResult
RedirectToLocal ( string returnUrl ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult
Register ( RegisterViewModel model ) : Task
SignInAsync ( UserIdentity user, bool isPersistent ) : System.Threading.Tasks.Task

Method Details

AccountController() public method

public AccountController ( UserManager userManager, IAuthenticationManager authenticationManager ) : System.Threading.Tasks
userManager UserManager
authenticationManager IAuthenticationManager
return System.Threading.Tasks

Index() public method

public Index ( ) : Task
return Task