call Reset Password Function
abstract suspend fun callResetPasswordFunction(email: String, newPassword: String, vararg args: Any?)
Call the reset password function configured for the Credentials.Provider.EMAIL_PASSWORD provider.
Parameters
email
the email of the user.
new Password
the new password of the user.
args
any additional arguments provided to the reset function. All arguments must be able to be converted to a BsonValue.
Throws
Service Exception
if the server failed to confirm the user.