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.

class documentation

class IAuthorizable(ABC): (source)

View In Hierarchy

Define how an identity is addressed by the authorization tables.

Permissions and roles are attached through a polymorphic pair, so any model may own them without the module knowing its concrete class.

Method getAuthorizableId Return the identifier stored in the authorization pivot tables.
Method getAuthorizableType Return the polymorphic type stored alongside the identifier.
Class Variable __slots__ Undocumented
@abstractmethod
def getAuthorizableId(self) -> object: (source)

Return the identifier stored in the authorization pivot tables.

Returns
objectValue persisted in the model_id column.
@abstractmethod
def getAuthorizableType(self) -> str: (source)

Return the polymorphic type stored alongside the identifier.

Returns
strStable string identifying the owning model, persisted in the model_type column of the authorization pivot tables.
__slots__: tuple = (source)

Undocumented