Imran Khan says Taliban's 'holy war' in Afghanistan is justified by Islamic law

Re: Imran Khan says Taliban’s ‘holy war’ in Afghanistan is justified by Islamic law

By same token Afghanistan has an elected & internationally recognized government. The international forces are there with consent of Afghan govt. Are Taliban a govt? Who do Taliban represent?