MSAL Java samples demonstrating how a daemon console application can call Microsoft Graph using its own identity
These samples demonstrate how to use the Microsoft Identity platform to access user data in a long-running, non-interactive process.
Two samples are available:
- An application which uses the client credentials flow with a certificate to obtain an access token for Microsoft Graph
- Source code can be found in the msal-client-credential-certificate directory, as well as the README for configuring and running the sample
- An application which uses the client credentials flow with a secret to obtain an access token for Microsoft Graph
- Source code can be found in the msal-client-credential-secret directory, as well as the README for configuring and running the sample