password change¶
jwt_allauth.password_change.serializers module¶
jwt_allauth.password_change.views module¶
- class jwt_allauth.password_change.views.PasswordChangeView(**kwargs)[source]¶
Bases:
GenericAPIViewCalls Django Auth SetPasswordForm save method.
Accepts the following POST parameters: new_password1, new_password2 Returns the success/fail message.
- dispatch(*args, **kwargs)[source]¶
.dispatch() is pretty much the same as Django’s regular dispatch, but with extra hooks for startup, finalize, and exception handling.
- permission_classes = (<class 'rest_framework.permissions.IsAuthenticated'>,)¶
- serializer_class¶
alias of
PasswordChangeSerializer
- throttle_classes = [<class 'rest_framework.throttling.UserRateThrottle'>]¶