confirmPassword method

Future<DynamiteResponse<LoginConfirmPasswordResponseApplicationJson, void>> confirmPassword({
  1. required String password,
})

Confirm the user password.

Returns a Future containing a DynamiteResponse with the status code, deserialized body and headers. Throws a DynamiteApiException if the API call does not return an expected status code.

Parameters:

  • password The password of the user.

Status codes:

  • 200: Password confirmation succeeded
  • 403: Password confirmation failed

See:

Implementation

Future<_i1.DynamiteResponse<LoginConfirmPasswordResponseApplicationJson, void>> confirmPassword({
  required String password,
}) async {
  final _request = $confirmPassword_Request(
    password: password,
  );
  final _response = await _rootClient.httpClient.send(_request);

  final _serializer = $confirmPassword_Serializer();
  final _rawResponse =
      await _i1.ResponseConverter<LoginConfirmPasswordResponseApplicationJson, void>(_serializer).convert(_response);
  return _i1.DynamiteResponse.fromRawResponse(_rawResponse);
}