C# 클래스 Daniel15.Web.Controllers.AccountController

Handles logging in and out
상속: Controller
파일 보기 프로젝트 열기: Daniel15/Website

공개 메소드들

메소드 설명
AccountController ( SignInManager signInManager ) : System.Threading.Tasks
Login ( string returnUrl ) : System.Web.Mvc.ActionResult

Displays the login page

비공개 메소드들

메소드 설명
Login ( Daniel15.Web.ViewModels.Account.LoginViewModel model, string returnUrl ) : Task
RedirectToLocal ( string returnUrl ) : System.Web.Mvc.ActionResult

Redirect to the specified URL if it's local to this site. Otherwise, redirect to the index.

메소드 상세

AccountController() 공개 메소드

public AccountController ( SignInManager signInManager ) : System.Threading.Tasks
signInManager SignInManager
리턴 System.Threading.Tasks

Login() 공개 메소드

Displays the login page
public Login ( string returnUrl ) : System.Web.Mvc.ActionResult
returnUrl string URL to return to after logging in
리턴 System.Web.Mvc.ActionResult