I have a sharepoint (myAzure.sharepoint.com). Inside I got a site PWA (project online). PWA offert OData Api. The security of that Api required a User member of your AD (not an app).
I want, in c#, to consumme the api outside azure (like localhost). I need to do it without interractive (web promp interraction with the user).
The only way I found was by "password credential".
Explanatory documentation