You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@davidmoten we will be releasing a sample around the same time as we launch the SDK that incorporates both client credential and authorization code flows, and I will add links to both in this README.
Copy file name to clipboardExpand all lines: README.md
+4-13Lines changed: 4 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,12 @@
1
1
# Preview Microsoft Graph SDK for Java
2
-
This client library is currently in private preview status. This means that:
3
-
- The API surface may change significantly
4
-
- Non-blocking issues *may* be triaged at a slower pace
5
-
- You may submit feedback through issues or PRs. You will have a better chance of your changes being implemented if they are submitted before public preview release
6
-
- We do not define an SLA or support strategy for this library
7
-
8
-
We welcome your feedback as we drive the quality of this to general availability.
2
+
*This SDK is currently in preview. Please continue to provide [feedback](https://github.com/microsoftgraph/msgraph-sdk-java/issues/new) as we iterate towards a production-supported library.*
9
3
10
4
# Get started with the Microsoft Graph SDK for Java
11
5
12
-
Integrate the [Microsoft Graph API](https://graph.microsoft.io/en-us/getting-started) into your Java application!
6
+
Integrate the [Microsoft Graph API](https://developer.microsoft.com/graph) into your Java application!
13
7
14
8
## 1. Installation
15
9
### 1.1 Install via Gradle
16
-
*This package will not be available via Gradle until it hits public preview. You will need to download the source and reference the package locally.*
17
-
18
10
Add the JCenter repository and a compile dependency for `microsoft-graph` to your project's `build.gradle`
The nature of the Graph API is such that the SDK needs quite a large set of classes to describe its functionality. You will need to ensure that [ProGuard](https://developer.android.com/studio/build/shrink-code.html) is enabled on your project. Otherwise, you will incur long build times for functionality that is not necessary relevant to your particular application. If you are still hitting the 64k method limit, you can also enable [multidexing](https://developer.android.com/studio/build/multidex.html).
33
26
34
27
## 2. Getting started
@@ -48,8 +41,6 @@ For an example of authentication in a client application see the [MSGraph SDK An
48
41
49
42
### 2.3 Get a GraphServiceClient object
50
43
51
-
TODO: the para below needs expansion or removal. Would need to mention the different flows (authorization code flow, implicit flow, client credential flow) and give pointers on where to get sample code. Dave Moten can provide link for client credentials flow.
52
-
53
44
Once you have set the correct application ID and url, you must get a **GraphServiceClient** object to make requests against the service. The SDK will store the account information for you, but when a user logs on for the first time, it will invoke UI to get the user's account information.
0 commit comments