def METHOD_NAME(self, request, *args, **kwargs):
    auth = super().METHOD_NAME(request, *args, **kwargs)
    if not request.user.is_authenticated:
        return JsonResponse(
            dict(
                errors=[
                    {
                        "code": "not_authenticated",
                        "message": "Authentication credentials were not provided.",
                    }
                ]
            ),
            status=status.HTTP_401_UNAUTHORIZED,
        )
    if not request.user.is_verified():
        return JsonResponse(
            dict(
                errors=[
                    {"code": "not_verified", "message": "User is not verified."}
                ]
            ),
            status=status.HTTP_403_FORBIDDEN,
        )
    return auth