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 middleware components and public imports.
| Module | authenticate |
Provide auth middleware operations. |
| Module | authorize |
Provide auth middleware operations. |
| Module | guest |
Keep web login and registration routes restricted to guests. |
| Module | policy |
Gate a route behind a policy ability declared on a resource class. |
| Module | resolve |
Provide auth middleware operations. |
From __init__.py:
| Class | |
Require an authenticated identity before reaching the controller. |
| Class | |
Require an identity authenticated through the HTTP session. |
| Class | |
Require an identity authenticated through a personal access token. |
| Class | |
Keep web login and registration routes restricted to guests. |
| Class | |
Require one or more permissions before reaching the controller. |
| Class | |
Gate a route behind a policy ability declared on a resource class. |
| Class | |
Require one or more roles before reaching the controller. |
| Class | |
Establish authentication while allowing anonymous requests to continue. |
| Class | |
Resolve a web identity from the session without requiring a login. |
| Class | |
Resolve an API identity from a Bearer token while allowing guests. |
| Function | __dir__ |
List loaded attributes and declared public exports. |
| Function | __getattr__ |
Resolve and cache a public package export. |
| Constant | _AUTHENTICATE |
Module defining authentication-required middleware variants. |
| Constant | _EXPORTS |
Public export names mapped to their defining modules and attributes. |
| Constant | _RESOLVE |
Module defining optional identity-resolution middleware variants. |
Resolve and cache a public package export.
| Parameters | |
name:str | Public attribute requested from this package. |
| Returns | |
object | Exported object from its defining module. |
| Raises | |
AttributeError | If the requested attribute is not exported. |
Module defining authentication-required middleware variants.
| Value |
|
Public export names mapped to their defining modules and attributes.
| Value |
|