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
Copy file name to clipboardExpand all lines: README.md
+23-23Lines changed: 23 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,49 +43,49 @@ Register your application by following [these](https://developer.microsoft.com/e
43
43
### 2.2 Create an IAuthenticationProvider object
44
44
45
45
An instance of the **GraphServiceClient** class handles building requests,
46
-
sending them to Microsoft Graph API, and processing the responses. To create a
46
+
sending them to the Microsoft Graph API, and processing the responses. To create a
47
47
new instance of this class, you need to provide an instance of
48
48
`IAuthenticationProvider` which can authenticate requests to Microsoft Graph.
49
49
50
50
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).
51
51
52
52
### 2.3 Get a GraphServiceClient object
53
53
54
+
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.
55
+
54
56
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.
Once you have an GraphServiceClient 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).
70
+
Once you have a GraphServiceClient 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).
0 commit comments