* @category Code_Sample * @package O365-PHP-Unified-API-Connect * @author Ricardo Loo <*****@*****.**> * @license MIT License * @link http://GitHub.com/OfficeDev/O365-PHP-Unified-API-Connect */ /*! @abstract This is the start page. It should display minimal UI emphasizing the "connect" button. */ namespace Microsoft\Office365\UnifiedAPI\Connect; require_once 'AuthenticationManager.php'; // User clicked the "connect" button. Start the authentication flow. if ($_SERVER['REQUEST_METHOD'] === 'POST') { AuthenticationManager::connect(); } ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>O365 Connect sample</title> <!-- Third party dependencies. --> <link rel="stylesheet" href="https://appsforoffice.microsoft.com/fabric/1.0/fabric.css">