Current section

Files

Jump to
liter_llm lib liter_llm auth_header_format.ex
Raw

lib/liter_llm/auth_header_format.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:797e09398ae0b95dd0e3de94d7374eedafcd20d08532c7cf378cbcd09e3083a7
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule LiterLlm.AuthHeaderFormat do
@moduledoc "How the API key is sent in the HTTP request."
@typedoc "How the API key is sent in the HTTP request."
@type t :: term()
@typedoc "Bearer token: `Authorization: Bearer <key>`"
@type bearer :: :bearer
@typedoc "Custom header: e.g., `X-Api-Key: <key>`"
@type api_key :: %{type: :api_key, value: String.t()}
@typedoc "No authentication required."
@type none_variant :: :none
end