HTTP basic authentication middleware for aiohttp 3.0+. Current version 1.1.0. This library provides a simple middleware to add HTTP basic authentication to aiohttp web applications. Maintenance is infrequent.
pip install aiohttp-basicauthVerified import paths — ran on the pinned version, not inferred.
Set up basic auth middleware on an aiohttp app.
Upgrade to v1.1.0 and use `@auth.ignore` on handlers you want to exclude.
Apply `@auth.ignore` to static file handlers or use a separate sub-app.
Update your callable to accept only `username` and `password` (no request).
Use `from aiohttp_basicauth import BasicAuth`.
Ensure your handler is async and you await calls if you override `check_credentials`.
No dependency data recorded yet.