Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication subsystem (device-code flow only in v0.1).

AuthContext is the runtime entrypoint: every Graph call goes through access_token(), which automatically refreshes when the cached token is within 60 seconds of expiring.

Modules§

device_code
Device-code flow against login.microsoftonline.com/<tenant>/oauth2/v2.0/.
token_cache
On-disk token cache.

Structs§

AuthContext

Constants§

DEFAULT_CLIENT_ID
Default Entra app client_id shipped in the binary. Replace this with the GUID captured in Prereq B before publishing.