Presentation is loading. Please wait.

Presentation is loading. Please wait.

10/28/2019 4:41 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.

Similar presentations


Presentation on theme: "10/28/2019 4:41 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN."— Presentation transcript:

1 10/28/2019 4:41 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 10/28/2019 4:41 AM Learn how to use the Microsoft Graph PHP SDK to build you next integration with Office 365 Richard diZerega Principal Software Engineer Commercial Software Engineering © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 SDK Features Available through Composer
Build 2015 10/28/2019 4:41 AM SDK Features Available through Composer composer require microsoft/microsoft-graph Decoupled from authentication $graph = new Graph(); $graph->setAccessToken($accessToken); Request-based methods w/ strongly-typed deserialization $user = $graph->createRequest("GET", "/me") ->setReturnType(Model\User::class) ->execute(); © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 SDK Features Supports all Graph versions
Build 2015 10/28/2019 4:41 AM SDK Features Supports all Graph versions $graph = new Graph(); $graph->setBaseUrl(" ->setApiVersion("beta") ->setAccessToken($_SESSION['access_token']); Intelligent paging $ptr = $graph->createCollectionRequest("GET", "/me/messages") ->setReturnType(Model\Message::class) ->setPageSize(2); while (!$ptr>isEnd()) { $docs = array_merge($docs,$ptr->getPage()); } © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 Demo Graph SDK for PHP

6 Start Developing Graph SDKs http://aka.ms/graphsdks Graph SDK for PHP
Microsoft Graph Github StackOverflow [microsoftgraph]

7 10/28/2019 4:41 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "10/28/2019 4:41 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN."

Similar presentations


Ads by Google