pub fn local_auth_state(
cache: &TokenCache,
query: &AuthStateQuery,
live: bool,
) -> Result<AuthStateReport, BrokerError>Expand description
synaps auth state for the local broker cache holds for the current
credential store and config (the one requests use) or, when no request
has built one yet, the account list with nothing recorded. live: the
caller is the process that serves requests (the daemon). No network
request, no refresh; query.clear never writes the store.