pub use iam_service_auth::{ get_tenant_context, resolve_tenant_ids_from_context, resource_for_tenant, AuthService, TenantContext, }; pub async fn connect_iam(endpoint: &str) -> anyhow::Result { AuthService::new(endpoint).await.map_err(|error| { anyhow::anyhow!("failed to connect to IAM server at {}: {}", endpoint, error) }) }