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
First off, thank you for taking the time to open this issue! We do appreciate it. Please bear with us if we don't get to this right away.
4
+
5
+
If this is a question about the Microsoft Graph service API, or a question about how to use this SDK, please post your question to StackOverflow with the [microsoftgraph] tag.
This repo is for the Microsoft Graph Java SDK. Issues opened in this repo should only target this SDK.
9
+
10
+
Before you open this issue, did you:
11
+
- Search the issues to determine whether someone already opened this issue?
12
+
- Search StackOverflow for an answer?
13
+
- Capture the repro steps and gather the information requested in the steps below to reproduce your scenario?
14
+
- Review the samples under github.com/microsoftgraph? They can help for some scenarios.
15
+
- Take a look at the functional tests in this repo? They may have an example for you. See the [functional tests](https://github.com/microsoftgraph/msgraph-sdk-java/tree/master/src/test/java/com/microsoft/graph/functional)
16
+
17
+
-->
18
+
19
+
Please provide the following (and please check them off the list with [x]) before submitting this issue:
20
+
-[ ] Expected behavior. Please provide **links to the specific [Microsoft Graph documentation](https://developer.microsoft.com/en-us/graph/docs/concepts/overview)** you used to determine the expected behavior.
21
+
-[ ] Actual behavior. Provide error codes, stack information, and a [Fiddler](http://www.telerik.com/fiddler) capture of the request and response (please remove personally identifiable information before posting).
22
+
-[ ] Steps to reproduce the behavior. Include your code, IDE versions, client library versions, and any other information that might be helpful to understand your scenario.
First off, thank you for opening this pull request! We do appreciate it.
4
+
5
+
The requests and models for this client library are generated. We won't be accepting pull requests for those code files. With that said, we do appreciate
6
+
it when you open pull requests with the proposed file changes, as we'll use that to help guide us in updating our template files.
7
+
8
+
-->
9
+
10
+
<!-- Optional. Set the issues that this pull request fixes. Delete 'Fixes #' if there isn't an issue associated with this pull request. -->
11
+
Fixes #
12
+
13
+
<!-- Required. Provide specifics about what the changes are and why you're proposing these changes. -->
14
+
### Changes proposed in this pull request
15
+
-
16
+
17
+
<!-- Optional. Provide related links. This might be other pull requests, code files, StackOverflow posts. Delete this section if it is not used. -->
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Contributing to the Microsoft Graph SDK for Android
1
+
# Contributing to the Microsoft Graph SDK for Java
2
2
3
3
The Microsoft Graph SDK is available for all manner of contribution. There are a couple of different recommended paths to get contributions into the released version of this SDK.
4
4
@@ -10,7 +10,7 @@ The best way to get started with a contribution is to start a dialog with the ow
10
10
11
11
## Submit pull requests for trivial changes
12
12
13
-
If you are making a change that does not affect the interface components and does not affect other downstream callers, feel free to make a pull request against the __master__ branch. The master branch will be updated frequently, and the gradle dependency will be kept closely inline with it.
13
+
If you are making a change that does not affect the interface components and does not affect other downstream callers, feel free to make a pull request against the __dev__ branch. The dev branch will be updated frequently.
14
14
15
15
Revisions of this nature will result in a 0.0.X change of the version number.
16
16
@@ -19,3 +19,6 @@ Revisions of this nature will result in a 0.0.X change of the version number.
19
19
If major functionality is being added, or there will need to be gestation time for a change, it should be submitted against the __feature__ branch.
20
20
21
21
Revisions of this nature will result in a 0.X.X change of the version number.
22
+
23
+
## Submit pull requests for model or request files
24
+
You can revise code in the extension folders of these folders. See [Extending the Library](https://github.com/microsoftgraph/msgraph-sdk-java/wiki/Extending-the-Library) for more information on how to work with the generated parts of the library.
@@ -41,76 +40,75 @@ Register your application by following [these](https://developer.microsoft.com/e
41
40
### 2.2 Create an IAuthenticationProvider object
42
41
43
42
An instance of the **GraphServiceClient** class handles building requests,
44
-
sending them to Microsoft Graph API, and processing the responses. To create a
43
+
sending them to the Microsoft Graph API, and processing the responses. To create a
45
44
new instance of this class, you need to provide an instance of
46
45
`IAuthenticationProvider` which can authenticate requests to Microsoft Graph.
47
46
48
47
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).
49
48
50
49
### 2.3 Get a GraphServiceClient object
51
50
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
+
52
53
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).
67
+
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).
For known issues, see [issues](https://github.com/MicrosoftGraph/msgraph-sdk-java/issues).
107
105
108
106
## 6. Contributions
109
107
110
-
The Microsoft Graph SDK is open for contribution. Please read how to contribute to this project [here](docs/contributions.md).
108
+
The Microsoft Graph SDK is open for contribution. Please read how to contribute to this project [here](https://github.com/microsoftgraph/msgraph-sdk-java/blob/master/CONTRIBUTING.md).
111
109
112
110
## 7. Supported Java Versions
113
-
The Microsoft Graph SDK for Java library is supported at runtime for Java 6+ and [Android API revision 15](http://source.android.com/source/build-numbers.html) and greater.
111
+
The Microsoft Graph SDK for Java library is supported at runtime for Java 7+ and [Android API revision 15](http://source.android.com/source/build-numbers.html) and greater.
0 commit comments