Implement FR #3209: Add native support for authentication via Intune dbus interface (#3274)

* Adds support for calling `acquireTokenInteractively` and `acquireTokenSilently` via D-Bus
* Parses and handles the full `brokerTokenResponse` object returned by the Intune broker
* Stores and reuses `account` data to enable silent token refresh without repeated interactive authentication
* Ensures the access token and its expiry time are properly calculated and stored for consistent token management
* Fallback to interactive authentication is triggered if silent authentication fails
This commit is contained in:
abraunegg 2025-05-26 17:14:50 +10:00 committed by GitHub
commit 61e5a1edb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 847 additions and 175 deletions

3
config
View file

@ -178,6 +178,9 @@
## Only upload changes to OneDrive, do not download from cloud.
#upload_only = "false"
## Single Sign-On (SSO) via Intune using the Microsoft Identity Device Broker
#use_intune_sso = "true"
## This configuration option controls the application function to move online deleted files to a 'Recycle Bin' on your system.
#use_recycle_bin = "false"