Skip to content

Commit 6f6098d

Browse files
committed
- updates guidance to follow new authentication provider
1 parent eae9eb7 commit 6f6098d

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

‎readme.md‎

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,17 @@ Register your application by following the steps at [Register your app with the
4848

4949
### 2.2 Create an IAuthenticationProvider object
5050

51-
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.
51+
An instance of the **HttpClients** class handles building client. To create a new instance of this class, you need to provide an instance of `IAuthenticationProvider`, which can authenticate requests to Microsoft Graph.
5252

53-
### To get instance of HttpClients
54-
55-
Auth in Java app [here](https://github.com/microsoftgraph/msgraph-sdk-java-auth)
56-
57-
Auth in Android app [here](https://github.com/microsoftgraph/msgraph-sdk-android-auth)
53+
For an example of how to get an authentication provider, see [the samples](https://github.com/microsoftgraph/msgraph-sdk-java-core/blob/master/samples).
5854

5955
### 2.3 Get a HttpClients object
6056

57+
6158
You must get a **HttpClients** object to make requests against the service.
6259

6360
```java
64-
OkHttpClient client = HttpClients.createDefault(iCoreAuthenticationProvider);
61+
OkHttpClient client = HttpClients.createDefault(iAuthenticationProvider);
6562
```
6663

6764
## 3. Make requests against the service

0 commit comments

Comments
 (0)