Async-fastapi-jwt-auth

Latest version: v0.6.5

Safety actively analyzes 624578 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.6.4

* Dependencies are now use >=, so everything should be fine.
* Examples for Swagger (OpenAPI) authorization

0.6.3

* Dependencies are updated to latest, but somebody (Me) done it wrong, would be fixed in 0.6.4

0.6.2

* OpenAPI now shows field for auth token. Thx to SunnyCapt
python
from async_fastapi_jwt_auth.auth_jwt import AuthJWT, AuthJWTBearer
from fastapi import Depends

auth_dep = AuthJWTBearer()

app.get("/protected")
async def protected(Authorize: AuthJWT = Depends(auth_dep)):
await Authorize.jwt_required()
return {"success": True}

0.6.1

* Fix CHANGELOG.md, test action

0.6.0

* Poetry, Pydantic 2.0

0.5.0

* Support for WebSocket authorization *(Thanks to SelfhostedPro for make issues)*
* Function **get_raw_jwt()** can pass parameter encoded_token

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.