-
Notifications
You must be signed in to change notification settings - Fork 1k
Release Notes for SPFx Package Version 1.4.1
- Initial alpha release of AadTokenProvider class
- Initial beta release of AadHttpClient class
- Initial beta release of MSGraphClient class
MSGraphClient is used to perform REST calls against Microsoft Graph. The Microsoft Graph JavaScript client library is a lightweight wrapper around the Microsoft Graph API. This class allows developers to start making REST calls to MSGraph without needing to initialize the the MSGraph client library. If a custom configuration is desired, the MSGraphClient api function needs to be provided with that custom configuration for every request.
Find out more about the MSGraphSDK here: https://github.com/microsoftgraph/msgraph-sdk-javascript
AadHttpClient is used to perform REST calls against an Azure AD Application. For communicating with SharePoint, use the SPHttpClient class instead. For communicating with Microsoft Graph, use the GraphHttpClient class.
This class allows a developer to obtain OAuth2 tokens from Azure AD. OAuth2 tokens are used to authenticate the user from the SharePoint page to other services such as PowerBI, Sway, Exchange, Yammer, etc. AadTokenProvider is replacing the /_api.SP.OAuth.Token/Acquire endpoint for authentication with ADAL.js. At some point in the near future, when Azure AD v2.0 can support the same scenarios as the original version, we will switch to MSAL.
-
Getting Started