pub fn spawn_refresh_task(
flow: AuthFlow,
cred: Arc<LiveCredential>,
config: Config,
) -> RefreshTaskHandleExpand description
Spawn a background task that re-executes the auth flow before the token
expires. Writes the new token into cred.value so all in-flight requests
automatically pick it up on the next read.