C# 클래스 WebDemo.Controllers.SGAccountController

This class handles all the normal logon, logoff, register, change password, and forgot password operations that occur in the public part of your web application.
상속: BaseController
파일 보기 프로젝트 열기: mobile-devices/cloudconnect_dotnet_client

공개 메소드들

메소드 설명
ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
ForgotPassword ( ) : System.Web.Mvc.ActionResult

This allows the non-logged on user to have his password reset and emailed to him.

ForgotPasswordSuccess ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
Register ( ) : System.Web.Mvc.ActionResult
SGAccountController ( ) : System

비공개 메소드들

메소드 설명
BuildMessageBody ( string userName, string password, string filePath ) : string

This function builds the email message body from the ResetPassword.html file.

ChangePassword ( ) : System.Web.Mvc.ActionResult
ChangePassword ( SecurityGuard.ViewModels.ChangePasswordViewModel model ) : System.Web.Mvc.ActionResult
ErrorCodeToString ( MembershipCreateStatus createStatus ) : string
ForgotPassword ( SecurityGuard.ViewModels.ForgotPasswordViewModel model ) : System.Web.Mvc.ActionResult
LogOff ( ) : System.Web.Mvc.ActionResult
LogOn ( ) : System.Web.Mvc.ActionResult
LogOn ( SecurityGuard.ViewModels.LogOnViewModel model, string returnUrl ) : System.Web.Mvc.ActionResult
Mail ( string emailTo, string emailFrom, string subject, string body, bool isHtml ) : void

This method encapsulates the email function.

Register ( WebDemo.Areas.SecurityGuard.ViewModels model ) : System.Web.Mvc.ActionResult

메소드 상세

ChangePasswordSuccess() 공개 메소드

public ChangePasswordSuccess ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

ForgotPassword() 공개 메소드

This allows the non-logged on user to have his password reset and emailed to him.
public ForgotPassword ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

ForgotPasswordSuccess() 공개 메소드

public ForgotPasswordSuccess ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Index() 공개 메소드

public Index ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Register() 공개 메소드

public Register ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

SGAccountController() 공개 메소드

public SGAccountController ( ) : System
리턴 System