authPasswordResetConfirmCreateWithHttpInfo method

Future<Response> authPasswordResetConfirmCreateWithHttpInfo(
  1. PasswordResetConfirm passwordResetConfirm
)

Password reset e-mail link is confirmed, reset the user's password.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> authPasswordResetConfirmCreateWithHttpInfo(
  PasswordResetConfirm passwordResetConfirm,
) async {
  // ignore: prefer_const_declarations
  final path = r'/api/auth/password/reset/confirm/';

  // ignore: prefer_final_locals
  Object? postBody = passwordResetConfirm;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>['application/json'];

  return apiClient.invokeAPI(
    path,
    'POST',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}