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 Hashing(BaseEntity): (source)
Represent the password hashing configuration for the application.
| Method | __post |
Validate and normalize the hashing configuration after initialization. |
| Instance Variable | argon2 |
Cost parameters applied by the Argon2id driver. |
| Instance Variable | bcrypt |
Cost parameters applied by the bcrypt driver. |
| Instance Variable | driver |
Default hashing driver. Accepts a Drivers enum member or a plain string ('argon2' or 'bcrypt'). Resolved from the HASH_DRIVER environment variable or Drivers.ARGON2.value. |
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 |
Validate and normalize the hashing configuration after initialization.
| Returns | |
None | Modifies instance attributes in place via object.__setattr__. |
| Raises | |
TypeError | If driver is not a Drivers enum or str, or if the driver options are neither entities nor dictionaries. |
ValueError | If driver is a string that does not match any valid driver. |