


# confirmPasswordReset method




    *[<Null safety>](https://dart.dev/null-safety)*




FutureOrResult&lt;void> confirmPasswordReset
({required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) code, required [String](https://api.flutter.dev/flutter/dart-core/String-class.html) newPassword})





<p>Confirms the password reset with the provided <code>newPassword</code> and <code>code</code>.</p>
<p>Throws a ConfirmPasswordResetFailureInterface if an exception occurs.</p>



## Implementation

```dart
FutureOrResult<void> confirmPasswordReset({
  required String code,
  required String newPassword,
});
```







