public async Task ResetPasswordAsync(ResetPasswordDto resetPassword) { if (string.IsNullOrEmpty(resetPassword.VerificationCode)) { throw new CcsSsoException("VERIFICATION_CODE_REQUIRED"); } if (string.IsNullOrEmpty(resetPassword.UserName)) { throw new CcsSsoException("USERNAME_REQUIRED"); } if (string.IsNullOrEmpty(resetPassword.NewPassword)) { throw new CcsSsoException("NEW_PASSWORD_REQUIRED"); } await _identityProviderService.ResetPasswordAsync(resetPassword); }