This sample will introduce you to working with the Microsoft Graph SDK to access data in Microsoft 365 from Java applications. This code is the result of completing the Java Microsoft Graph tutorial and the Java Microsoft Graph app-only tutorial.
The code for the delegated user authentication sample is in the user-auth folder. Instructions to configure and run the sample can be found in the README in that folder.
The code for the app-only authentication sample is in the app-auth folder. Instructions to configure and run the sample can be found in the README in that folder.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.