I am trying to integrate Microsoft Dynamics Online with my website. However, I am struggling to find a decent way to authenticate via the API (whether it'd be REST or SOAP) using PHP. Most examples use the Microsoft CRM SDK (in .NET) to authenticate. However, my website is based in PHP and I would like to know how you gain access to the Microsoft Dynamics API (REST and/or SOAP).
Does anyone know a suitable way to authenticate with the Microsoft dynamics API via php?