ISignInFormVm
Namespace: SlottyMedia.Backend.ViewModel.Partial.SignIn
Interface used for dependency injection on the SignInFormVm
public interface ISignInFormVm
Properties
The form's email address
public abstract string Email { get; set; }
Property Value
EmailErrorMessage
An optional error message that is caused by the email address
public abstract string EmailErrorMessage { get; set; }
Property Value
Password
The form's password
public abstract string Password { get; set; }
Property Value
PasswordErrorMessage
An optional error message that is caused by the password
public abstract string PasswordErrorMessage { get; set; }
Property Value
ServerErrorMessage
An optional error message that is caused by some internal server error
public abstract string ServerErrorMessage { get; set; }
Property Value
Methods
SubmitSignInForm()
Attempts to submit the form. If this is successful, then the user was signed in successfully and cookies have been set. Otherwise, displays an appropriate error message.
Task SubmitSignInForm()