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

Define how the effective permissions of an identity are loaded.

Async Method loadFor Load the permissions and roles owned by an identity.
Class Variable __slots__ Undocumented
@abstractmethod
async def loadFor(self, authorizable: IAuthorizable) -> tuple[frozenset[str], frozenset[str]]: (source)

Load the permissions and roles owned by an identity.

Parameters
authorizable:IAuthorizableIdentity whose authorization must be resolved.
Returns
tuple[frozenset[str], frozenset[str]]Pair holding the effective permission names first and the role names second. Permissions already include the ones inherited from the roles of the identity.