# `Sycophant.Auth.Azure`

Authentication strategy for Azure AI Foundry.

Uses Bearer token authentication with an api-version query parameter.
Supports both Azure AI Foundry format (`.services.ai.azure.com`) and
traditional Azure OpenAI format (`.openai.azure.com`).

# `uses_foundry_format?`

```elixir
@spec uses_foundry_format?(term()) :: boolean()
```

Returns `true` if the given base URL uses the Azure AI Foundry format.

Foundry endpoints use the `.services.ai.azure.com` domain, while
traditional Azure OpenAI endpoints use `.openai.azure.com`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
