Skip to main content

Module oauth_probe

Module oauth_probe 

Source
Expand description

OAuth token-file probing: the oauth_status canonical-value constants, OAuthProbeStatus, and probe_oauth_status itself.

Split out of the single ~2193-line resolver.rs (pure relocation, no behavior change) — self-contained, on-disk OAuth token-file probing with no dependency on the rest of the resolver module.

Modules§

oauth_status
Canonical-value enumeration for OAuth-class IdentityAccount.status.

Enums§

OAuthProbeStatus
Result of probing a per-bundle OAuth token directory.

Functions§

probe_oauth_status
Cheap on-disk probe of the per-bundle OAuth token file for a provider. No network calls — just reads + parses the token JSON, then compares expiresAt against now_ms.