def METHOD_NAME(self, request: Request) -> AuthUser:
    serializer = self.serializer_class(data=request.data)
    serializer.is_valid(raise_exception=True)
    user = authenticate(request=request, **serializer.validated_data)
    if user is None:
        raise AdcmEx(code="AUTH_ERROR")
    login(request=request, user=user, backend="django.contrib.auth.backends.ModelBackend")
    return user