get_api_token

Function get_api_token 

Source
pub async fn get_api_token(
    infra: &InfraContext<'_>,
    username: &str,
    password: &str,
) -> Result<String, Error>
Expand description

Exchange username + password for a CSM bearer token via the site’s configured backend.