Unfortunately, your former employer is under no legal obligation to confirm your past employment. That is unless it is required to do so under the terms of an employment contract or union agreement. Also, your treatment must not constitute some form of legally actionable discrimination. Otherwise, I am afraid that you are out of luck.