changePassword

suspend fun FirebaseUser.changePassword(newPassword: String, oldPassword: String)

Used to change the password of a FirebaseUser to the specified newPassword. If a re-authentication is required, then the value of the specified oldPassword would be used.