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 ResolveSessionIdentityMiddleware(ResolveIdentityMiddleware): (source)
Constructor: ResolveSessionIdentityMiddleware(manager, permissions)
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. |
Resolve the session and apply queued cookie changes.
| Parameters | |
request:orionis.http.Request | Incoming HTTP request carrying the session. |
callorionis.http.NextCallable | Callable advancing to the next layer in the request pipeline. |
| Returns | |
orionis.http.Response | Response produced by the remaining pipeline, with any queued remember-cookie changes applied. |