twisted / twisted/klein

support for middleware?

Open
#180 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Python
Stars
838
Forks
123
Avg merge
7h 58m
Merged PRs (30d)
12

Description

Hi i need to have a middleware that performs some authentication for anyendpoint call. something like explained here https://afropolymath.svbtle.com/intercept-route-requests-using-decorators-in-flask
.how can i achieve same in twisted klein?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the linked Flask decorator approach with Klein's existing request and middleware documentation. Clarify whether the goal is built-in middleware support or guidance for implementing authentication per endpoint, then define the supported behavior and acceptance criteria before locating the relevant Klein entry points.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, authentication, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.