Click here to Skip to main content
15,888,301 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm having a MVC application which is having authentication logic with Claims based AAD Authentication, I have added Unit project for writing testing cases for controllers(contains Claims based AAD Authentication), i'm not able to get authentication token which is failing mocking will not help in my case as the data need to fetched from API calls, please help how to handle this situation.

What I have tried:

I'm having a MVC application which is having authentication logic with Claims based AAD Authentication, I have added Unit project for writing testing cases for controllers(contains Claims based AAD Authentication), i'm not able to get authentication token which is failing mocking will not help in my case as the data need to fetched from API calls, please help how to handle this situation. 
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900