def METHOD_NAME(self):
    if self.request.user.is_anonymous:
        raise exc.NotAuthenticated(_("Authentication required"))
    queryset = models.ApplicationToken.objects.filter(user=self.request.user)
    application_id = self.request.QUERY_PARAMS.get("application", None)
    if application_id:
        queryset = queryset.filter(application_id=application_id)
    return queryset