Skip to content

ISignInFormVm

Namespace: SlottyMedia.Backend.ViewModel.Partial.SignIn

Interface used for dependency injection on the SignInFormVm

public interface ISignInFormVm

Properties

Email

The form's email address

public abstract string Email { get; set; }

Property Value

String

EmailErrorMessage

An optional error message that is caused by the email address

public abstract string EmailErrorMessage { get; set; }

Property Value

String

Password

The form's password

public abstract string Password { get; set; }

Property Value

String

PasswordErrorMessage

An optional error message that is caused by the password

public abstract string PasswordErrorMessage { get; set; }

Property Value

String

ServerErrorMessage

An optional error message that is caused by some internal server error

public abstract string ServerErrorMessage { get; set; }

Property Value

String

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()

Returns

Task