TopShelfCustomer/TopShelfCustomer.iOS/AuthIOS.cs
/// <summary>
/// RequestPasswordReset:
///
/// Asynchronous method to send "Password Reset" email to the user.
/// </summary>
/// <param name="email"> The E-mail to send the request to </param>
/// <returns> Task of type string, describing the exit status of the request </returns>


Asynchronous method to send "Password Reset" email to the user.
Asynchronous method to send " Password Reset " email to the user .
public async Task<string> RequestPasswordReset ( string email ) {
            try {
                await Auth.DefaultInstance.SendPasswordResetAsync( email );
                return "Success";
            } catch ( Exception e ) {
                Debug.WriteLine( e.Message );
                return "";
            }
        }
public async Task < string > RequestPasswordReset ( string email ) { try { await Auth . DefaultInstance . SendPasswordResetAsync ( email ) ; return " " ; } catch ( Exception e ) { Debug . WriteLine ( e . Message ) ; return " " ; } }
RequestPasswordReset:
RequestPasswordReset :
Task of type string, describing the exit status of the request
Task of type string describing the exit status of the request
email
string
The E-mail to send the request to
The E - mail to send the request to