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 AuthenticateSessionMiddleware(AuthenticateMiddleware): (source)
Constructor: AuthenticateSessionMiddleware(app, manager, permissions)
Require an identity authenticated through the HTTP session.
| Class Variable | __slots__ |
Undocumented |
Inherited from AuthenticateMiddleware:
| Method | __init__ |
Initialise the middleware with its collaborators. |
| Method | _unauthenticated |
Build the answer given to an anonymous request. |
| Async Method | handle |
Reject anonymous requests and continue authenticated ones. |
| Class Variable | cache |
Undocumented |
| Instance Variable | _redirect |
Undocumented |
Inherited from ResolveIdentityMiddleware (via AuthenticateMiddleware):
| Async Method | _establish |
Resolve the identity and bind the resulting context. |
| Class Variable | guard |
Undocumented |
| Instance Variable | _manager |
Undocumented |
| Instance Variable | _permissions |
Undocumented |