MSAL Java samples demonstrating how a daemon console application can call Microsoft Graph using its own identity
In MSAL client-side applications include desktop and mobile apps, or any other app that runs directly on a user's device rather than on a separate server.
Several samples are available:
- An application which uses the device code flow to allow users to sign into input-constrained devices such as a smart TV, IoT device, or printer.
- Source code can be found in the msal-devicecode directory, as well as the README for configuring and running the sample
- Use MSAL Java in an application on domain or Microsoft Entra joined computers to acquire a token using a user's active directory credentials.
- Source code can be found in the msal-integrated-windows-auth directory, as well as the README for configuring and running the sample
- An application which signs in users and retrieves tokens by directly handling their password.
- Source code can be found in the msal-username-password directory, as well as the README for configuring and running the sample