from django.urls import include, path

from .auth.views import BrokerACLView, BrokerAuthView

app_name = "django_devicehub"

urlpatterns = [
    path("broker/auth/", BrokerAuthView.as_view(), name="broker-auth"),
    path("broker/acl/", BrokerACLView.as_view(), name="broker-acl"),
    # Realtime SSE endpoints: /iot/stream/{type}/, /iot/poll/{type}/
    path("", include("django_devicehub.realtime.urls")),
]
