You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -101,7 +104,7 @@ public static BoolStatus SendPasswordReset(string emailToReset)
101
104
102
105
returnnewBoolStatus(response.Content.ReadAsStringAsync().Result.Contains("Password reset link has been sent to your email!"),response.Content.ReadAsStringAsync().Result);
/// <returns>A Task BoolStatus representing the asynchronous operation, indicating if the request was successful and the response status code.</returns>
/// <param name="newUsername">The new username.</param>
143
+
/// <returns>A Task BoolStatus representing the asynchronous operation, indicating if the username change was successful and the response text.</returns>
/// <param name="oldPassword">The old password.</param>
160
+
/// <param name="newPassword">The new password.</param>
161
+
/// <returns>A Task BoolStatus representing the asynchronous operation, indicating if the password change was successful and the response text.</returns>
/// <param name="username">The username of the user to follow.</param>
187
+
/// <returns>A Task BoolStatus representing the asynchronous operation, indicating if the follow operation was successful and the response text.</returns>
/// <param name="username">The username of the user to unfollow.</param>
202
+
/// <returns>A Task BoolStatus representing the asynchronous operation, indicating if the unfollow operation was successful and the response text.</returns>
returnnewBoolStatus(response.Content.ReadAsStringAsync().Result.Contains("Unfollowed user "),response.Content.ReadAsStringAsync().Result);
209
+
}
210
+
211
+
/// <summary>
212
+
/// Sends a password reset request asynchronously.
213
+
/// </summary>
214
+
/// <param name="emailToReset">The email address of the user to reset the password for.</param>
215
+
/// <returns>A Task BoolStatus representing the asynchronous operation, indicating if the password reset request was successful and the response text.</returns>
returnnewBoolStatus(response.Content.ReadAsStringAsync().Result.Contains("Password reset link has been sent to your email!"),response.Content.ReadAsStringAsync().Result);
0 commit comments