"""Google provider signals"""

from authentik.enterprise.providers.google_workspace.models import GoogleWorkspaceProvider
from authentik.enterprise.providers.google_workspace.tasks import (
    google_workspace_sync_delete_dispatch,
    google_workspace_sync_direct_dispatch,
    google_workspace_sync_m2m_dispatch,
)
from authentik.lib.sync.outgoing.signals import register_signals

register_signals(
    GoogleWorkspaceProvider,
    task_sync_direct_dispatch=google_workspace_sync_direct_dispatch,
    task_sync_delete_dispatch=google_workspace_sync_delete_dispatch,
    task_sync_m2m_dispatch=google_workspace_sync_m2m_dispatch,
)
