Ory. Model. IpRestriction
(ory_client v1.22.87)
Copy Markdown
IPRestriction defines IP-based access controls for an API key. When allowed_cidrs is non-empty, only requests from IPs matching at least one CIDR range are permitted. Empty allowed_cidrs means no IP restriction (all IPs allowed). IP restrictions apply to issued and imported key verification. Derived tokens (JWT/macaroon) carry the parent key's allowlist and are checked against it.
Summary
Types
@type t() :: %Ory.Model.IpRestriction{allowed_cidrs: [String.t()] | nil}