resetPassword abstract method

  1. @POST.new('/auth/reset')
Future<AuthLoginResponse> resetPassword({
  1. @Body.new() required ResetPasswordRequest body,
})

Reset password.

Complete the password reset flow using the token from the reset email. Returns authentication token after successful password reset.

body - Name not received - field will be skipped.

Implementation

@POST('/auth/reset')
Future<AuthLoginResponse> resetPassword({
  @Body() required ResetPasswordRequest body,
});