AccountController Members

TriCodeTest

AccountController Members

The AccountController type exposes the following members.

Constructors


  Name Description
Public method AccountController
Initializwe and assign fields.

Methods


  Name Description
Private method AddErrors
Public method ConfirmEmail
Confirm email after registration.
Public method ForgotPassword()()()()
Public method ForgotPassword(ForgotPasswordViewModel)
Reset password function. Takes current password and replaces with it with new one.
Public method ForgotPasswordConfirmation
View to confirm password reset
Private method GetCurrentUserAsync
Public method Login(String)
Shows the v
Public method Login(LoginViewModel, String)
Log the user into the application
Public method LogOff
Log off method
Private method RedirectToLocal
Public method Register(String)
Register user view
Public method Register(RegisterViewModel, String)
Gets date to create an account
Public method ResetPassword(String)
Show error or view if the code is correct
Public method ResetPassword(ResetPasswordViewModel)
Resets users password
Public method ResetPasswordConfirmation