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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ $tokenRequestContext = new AuthorizationCodeContext(
61
61
```
62
62
Note that your application will need to handle redirecting the user to the Microsoft Identity login page to get the `authorization_code` that's passed into the `AuthorizationCodeContext`.
63
63
[See](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow) for more on the `authorization_code` grant flow.
64
-
To keep your user signed in across multiple requests within a session, see section on [access token management](docs/Examples.md#access-token-management)
64
+
To keep your user signed in across multiple requests within a session, see section on [access token management](docs/authentication_samples.md#access-token-management)
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
80
80
```
81
81
82
-
To initialize the `GraphServiceClient` with an already acquired access token or to retrieve the access token that the SDK fetches on your behalf, see section on [access token management](docs/Examples.md#access-token-management).
82
+
To initialize the `GraphServiceClient` with an already acquired access token or to retrieve the access token that the SDK fetches on your behalf, see section on [access token management](docs/authentication_samples.md#access-token-management).
83
83
84
-
For more on Graph client configuration, see [more examples](docs/Examples.md#creating-a-graph-client)
84
+
For more on Graph client configuration, see [more examples](docs/authentication_samples.md#creating-a-graph-client)
85
85
86
86
### Call Microsoft Graph using the v1.0 endpoint and models
Copy file name to clipboardExpand all lines: UPGRADING.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,22 +67,22 @@ respects the `Retry-After` header values. It also exponentially backs-off should
67
67
68
68
This would be mostly helpful for handling [throttling scenarios](https://docs.microsoft.com/en-us/graph/throttling) on the Microsoft Graph API.
69
69
70
-
See [this example](docs/Examples.md#customizing-middleware-configuration) on how to customize middleware.
70
+
See [this example](docs/general_samples.md#customizing-middleware-configuration) on how to customize middleware.
71
71
72
72
## Improved support for paged collections
73
73
For performance reasons, collections of entities are often split into pages and each page is returned with a URL to the next page. The `PageIterator` class simplifies consuming of paged collections. `PageIterator` handles enumerating the current page and requesting subsequent pages automatically.
74
74
75
-
See [this example](docs/Examples.md#paging-through-a-collection)
75
+
See [this example](docs/general_samples.md#paging-through-a-collection)
76
76
77
77
## Support for Batch Requests
78
78
Combine multiple requests in a single call with ease. Up to 20 individual requests can be batched together to reduce network latency of making each request separately. The `BatchRequestBuilder` allows you to make requests to the `/$batch` endpoint of the Microsoft Graph API.
79
79
80
-
See [this example](docs/Examples.md#batching-requests)
80
+
See [this example](docs/general_samples.md#batching-requests)
81
81
82
82
## Support for resumable large file uploads
83
83
To upload files larger than 3MB, Microsoft Graph API supports uploads using resumable upload sessions where several bytes are uploaded at a time. The SDK provides a LargeFileUpload task that slices your file into chunks and progressively uploads them until completion.
84
84
85
-
See [this example](docs/Examples.md#uploading-large-files)
85
+
See [this example](docs/uploads_samples.md#uploading-large-files)
86
86
87
87
# Breaking Changes
88
88
The following breaking changes were introduced in v2.0.0 with more detailed upgrade steps in the following section:
@@ -128,7 +128,7 @@ $graphServiceClient = new GraphServiceClient($tokenRequestContext);
128
128
```
129
129
With version 2's configuration, all your requests are authenticated without additional effort.
130
130
131
-
See [this example](docs/Examples.md#creating-a-graph-client) on how to customise the Guzzle HTTP client configuration.
131
+
See [this example](docs/general_samples.md#creating-a-graph-client) on how to customise the Guzzle HTTP client configuration.
To make calls to the Beta Microsoft Graph API, check out our [Microsoft Graph Beta SDK](https://packagist.org/packages/microsoft/microsoft-graph-beta).
Copy file name to clipboardExpand all lines: docs/general_samples.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Usage Examples
1
+
#Usage Examples
2
2
3
3
## Creating a Graph client
4
4
This creates a default Graph client that uses `https://graph.microsoft.com` as the default base URL and default configured Guzzle HTTP client to make the requests.
0 commit comments