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.

package documentation

Group the auth authorization components and public imports.

Module authorizer Answer authorization questions for a given request context.
Module policy Base class for resource policies.
Module registrar Create permissions and roles, and attach them to identities.
Module registry Map resource classes to the policy classes protecting them.
Module repository Load permissions and roles from the framework authorization tables.
Module schema Build the framework-owned role and permission storage definitions.
Module snapshot Hold the immutable authorization picture of a single request.

From __init__.py:

Class AuthorizationSnapshot Hold the immutable authorization picture of a single request.
Class Policy Base class for resource policies.
Class PolicyRegistry Map resource classes to the policy classes protecting them.
Constant EMPTY_SNAPSHOT no permissions, no roles.

no permissions, no roles.

Value
AuthorizationSnapshot(permissions=(), roles=())