Edx-drf-extensions

Latest version: v10.3.0

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

Scan your dependencies

Page 10 of 15

2.4.0

Middleware enables the DRF JwtAuthentication authentication class for
endpoints using the LoginRedirectIfUnauthenticated permission class.

Enables a DRF view to redirect the user to login when they are
unauthenticated. It automatically enables JWT-cookie-based
authentication by setting the `USE_JWT_COOKIE_HEADER` for endpoints
using the LoginRedirectIfUnauthenticated permission.

This can be used to convert a plain Django view using login_required
into a DRF APIView, which is useful to enable our DRF JwtAuthentication
class.

NOTE: This includes a breaking change that is unlikely to affect anyone
unless they subclassed JwtAuthCookieMiddleware, which switched from
using `process_request` to `process_view` so it would not run before
this new middleware.

ARCH-1051

2.3.8

2.3.7

2.3.3

Version 2.3.2 was released without bumping its version number. This fixes that.

2.3.2

See https://docs.djangoproject.com/en/1.11/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware for details. This release will remove many `RemovedInDjango20Warning`s for clients of this library.

2.3.1

Fix call to is_jwt_authenticated when the request has no successful_authenticator attribute

Page 10 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.