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
Get started with the Microsoft Graph Core SDK for Java by integrating the [Microsoft Graph API](https://graph.microsoft.io/en-us/getting-started) into your Java application!
7
4
8
5
## 1. Installation
9
6
10
7
### 1.1 Install via Gradle
11
8
12
-
Add the repository and a compile dependency for `microsoft-graph` to your project's `build.gradle`:
9
+
Add the repository and a compile dependency for `microsoft-graph-core` to your project's `build.gradle`:
13
10
14
11
```gradle
15
12
repository {
@@ -70,33 +67,59 @@ Register your application by following the steps at [Register your app with the
70
67
71
68
### 2.2 Create an IAuthenticationProvider object
72
69
73
-
An instance of the **GraphServiceClient** class handles building requests, sending them to the Microsoft Graph API, and processing the responses. To create a new instance of this class, you need to provide an instance of `IAuthenticationProvider`, which can authenticate requests to Microsoft Graph.
74
-
75
-
For an example of authentication in a client application, see the [MSGraph SDK Android MSA Auth for Android Adapter](https://github.com/microsoftgraph/msgraph-sdk-android-msa-auth-for-android-adapter).
70
+
An instance of the **HttpClients** class handles building client. To create a new instance of this class, you need to provide an instance of `ICoreAuthenticationProvider`, which can authenticate requests to Microsoft Graph.
76
71
77
-
### 2.3 Get a HttpClient object
78
-
You must get a **HttpClient** object to make requests against the service.
72
+
### 2.3 Get a HttpClients object
73
+
You must get a **HttpClients** object to make requests against the service.
After you have a HttpClient that is authenticated, you can begin making calls against the service. The requests against the service look like our [REST API](https://developer.microsoft.com/en-us/graph/docs/concepts/overview).
81
+
After you have a HttpClients that is authenticated, you can begin making calls against the service. The requests against the service look like our [REST API](https://developer.microsoft.com/en-us/graph/docs/concepts/overview).
@@ -105,11 +128,12 @@ For known issues, see [issues](https://github.com/MicrosoftGraph/msgraph-sdk-jav
105
128
106
129
## 5. Contributions
107
130
108
-
The Microsoft Graph SDK is open for contribution. To contribute to this project, see [Contributing](https://github.com/microsoftgraph/msgraph-sdk-java/blob/master/CONTRIBUTING.md).
131
+
The Microsoft Graph SDK is open for contribution. To contribute to this project, see [Contributing](https://github.com/microsoftgraph/msgraph-sdk-java-core/blob/master/CONTRIBUTING.md).
0 commit comments