Class ForgotPasswordPageViewModel
Inheritance
ForgotPasswordPageViewModel
Assembly: EduCATS.dll
Syntax
public class ForgotPasswordPageViewModel : ViewModel, INotifyPropertyChanged
Constructors
ForgotPasswordPageViewModel(IPlatformServices)
Declaration
public ForgotPasswordPageViewModel(IPlatformServices services)
Parameters
Fields
_services
Declaration
public readonly IPlatformServices _services
Field Value
Properties
AnswerToSecretQuestion
Secret question property.
Declaration
public string AnswerToSecretQuestion { get; set; }
Property Value
ConfirmPassword
Declaration
public string ConfirmPassword { get; set; }
Property Value
HideConfirmPasswordCommand
Declaration
public Command HideConfirmPasswordCommand { get; }
Property Value
HidePasswordCommand
Declaration
public Command HidePasswordCommand { get; }
Property Value
IsConfirmPasswordHidden
Property for checking if confirm password is hidden.
Declaration
public bool IsConfirmPasswordHidden { get; set; }
Property Value
IsPasswordHidden
Property for checking if password is hidden.
Declaration
public bool IsPasswordHidden { get; set; }
Property Value
NewPassword
Confirm password property.
Declaration
public string NewPassword { get; set; }
Property Value
QuestionId
Secret question property.
Declaration
public string QuestionId { get; set; }
Property Value
ResetPasswordCommand
Declaration
public Command ResetPasswordCommand { get; }
Property Value
SelectedQuestionId
Secret question property.
Declaration
public int SelectedQuestionId { get; set; }
Property Value
UserName
Declaration
public string UserName { get; set; }
Property Value
Methods
LatinPassword()
Declaration
public bool LatinPassword()
Returns
ResetPassword(string, string)
Declaration
public static Task<KeyValuePair<string, HttpStatusCode>> ResetPassword(string newPassword, string userName)
Parameters
Returns
UpperCaseLettersInPassword()
Declaration
public int UpperCaseLettersInPassword()
Returns
VerifyPostAsync(string, int, string)
Declaration
public Task<KeyValuePair<string, HttpStatusCode>> VerifyPostAsync(string username, int questionId, string answerToSecretQuestion)
Parameters
Type |
Name |
Description |
string |
username |
|
int |
questionId |
|
string |
answerToSecretQuestion |
|
Returns
checkCredentials()
Declaration
public bool checkCredentials()
Returns
hideConfirmPassword()
Hides or shows a confirm password.
Declaration
protected void hideConfirmPassword()
hidePassword()
Hides or shows a password.
Declaration
protected void hidePassword()
startResetPassword()
Declaration
protected Task<object> startResetPassword()
Returns
Implements