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.
module documentation
Provide auth concerns operations.
Includes authorizable_key, model_primary_key.
| Function | authorizable |
Normalize a persisted identity's polymorphic authorization key. |
| Constant | _FALLBACK |
Attribute used when the object does not expose ORM metadata. |
| Constant | _MAX |
Max key length value used by functions. |
Normalize a persisted identity's polymorphic authorization key.
| Parameters | |
identity:object | Identity exposing getAuthorizableType and getAuthorizableId. |
| Returns | |
tuple[str, str] | Stable owner type and canonical textual identifier. |
| Raises | |
orionis.auth.AuthException | If the identity has no valid persisted scalar key. |