THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
class HTTPSecurity(BaseEntity): (source)
Represent the security-related configuration for HTTP.
| Method | __add |
Add a host to the list if it is missing. |
| Method | __extract |
Extract the hostname from a URL-like value. |
| Method | __is |
Return whether the host is local-only. |
| Method | __post |
Validate security-related fields. |
| Method | __validate |
Validate the allowed_hosts field. |
| Instance Variable | allowed |
List of allowed host names or '*' to allow all hosts. |
Inherited from BaseEntity:
| Class Method | _cached |
Retrieve field definitions and normalized types cached by class. |
| Method | get |
Describe field names, normalized types, defaults, and metadata. |
| Method | to |
Convert the dataclass instance to a recursively copied dictionary. |
| Class Variable | __slots__ |
Undocumented |