pub async fn get_api_token( infra: &InfraContext<'_>, username: &str, password: &str, ) -> Result<String, Error>
Exchange username + password for a CSM bearer token via the site’s configured backend.
username
password