pub async fn setup_domain(
config: &Config,
admin: Option<&str>,
) -> Result<(AccountingClient, AdminEntry), YukiError>Expand description
Authenticate a client and set the active administration domain.
Returns both the configured client and the resolved AdminEntry so callers
can pass admin_id to operations that require administrationID.