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 ResolveTokenIdentityMiddleware(ResolveIdentityMiddleware): (source)
Constructor: ResolveTokenIdentityMiddleware(manager, permissions)
Resolve an API identity from a Bearer token while allowing guests.
| 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. |
| Async Method | handle |
Bind the authentication context and continue the pipeline. |
| 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. |