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

Resolve a web identity from the session without requiring a login.

Async Method handle Resolve the session and apply queued cookie changes.
Class Variable __slots__ Declare that this class introduces no additional instance slots.

Inherited from ResolveIdentityMiddleware:

Method __init__ Initialise the middleware with its collaborators.
Async Method _establish Resolve the identity and bind the resulting context.
Class Variable guard An unpinned middleware reuses the request guard. Before any resolution, None falls back to the configured default guard.
Instance Variable _manager Manager exposing the configured guards.
Instance Variable _permissions Source the authorization snapshot is built from.
async def handle(self, request: Request, call_next: NextCallable) -> Response: (source)

Resolve the session and apply queued cookie changes.

Parameters
request:orionis.http.RequestIncoming HTTP request carrying the session.
call_next:orionis.http.NextCallableCallable advancing to the next layer in the request pipeline.
Returns
orionis.http.ResponseResponse produced by the remaining pipeline, with any queued remember-cookie changes applied.
__slots__: tuple = (source)

Declare that this class introduces no additional instance slots.