ORIONIS API REFERENCE

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

Undocumented

Function authorizable_key Normalize a persisted identity's polymorphic authorization key.
Constant _FALLBACK_PRIMARY_KEY Undocumented
Constant _MAX_KEY_LENGTH Undocumented
def authorizable_key(identity: object) -> tuple[str, str]: (source)

Normalize a persisted identity's polymorphic authorization key.

Parameters
identity:objectIdentity exposing getAuthorizableType and getAuthorizableId.
Returns
tuple[str, str]Stable owner type and canonical textual identifier.
Raises
AuthExceptionIf the identity has no valid persisted scalar key.
_FALLBACK_PRIMARY_KEY: str = (source)

Undocumented

Value
'id'
_MAX_KEY_LENGTH: int = (source)

Undocumented

Value
255