authentik.enterprise.lifecycle.tasks

Task registry for the lifecycle app.

Actors live in each feature package; importing them here registers them, as the app framework auto-imports <app>authentik.enterprise.lifecycle.tasks.

 1"""Task registry for the lifecycle app.
 2
 3Actors live in each feature package; importing them here registers them, as the
 4app framework auto-imports `<app>.tasks`.
 5"""
 6
 7from authentik.enterprise.lifecycle.expiration.tasks import (
 8    apply_expiration_rule,
 9    apply_expiration_rules,
10)
11from authentik.enterprise.lifecycle.offboarding.tasks import (
12    execute_due_offboardings,
13    execute_offboarding,
14)
15from authentik.enterprise.lifecycle.review.tasks import (
16    apply_lifecycle_rule,
17    apply_lifecycle_rules,
18    send_notification,
19)
20
21__all__ = [
22    "apply_expiration_rule",
23    "apply_expiration_rules",
24    "apply_lifecycle_rule",
25    "apply_lifecycle_rules",
26    "execute_due_offboardings",
27    "execute_offboarding",
28    "send_notification",
29]
apply_expiration_rule = Actor(<function apply_expiration_rule>, queue_name='default', actor_name='apply_expiration_rule')
apply_expiration_rules = Actor(<function apply_expiration_rules>, queue_name='default', actor_name='apply_expiration_rules')
apply_lifecycle_rule = Actor(<function apply_lifecycle_rule>, queue_name='default', actor_name='apply_lifecycle_rule')
apply_lifecycle_rules = Actor(<function apply_lifecycle_rules>, queue_name='default', actor_name='apply_lifecycle_rules')
execute_due_offboardings = Actor(<function execute_due_offboardings>, queue_name='default', actor_name='execute_due_offboardings')
execute_offboarding = Actor(<function execute_offboarding>, queue_name='default', actor_name='execute_offboarding')
send_notification = Actor(<function send_notification>, queue_name='default', actor_name='send_notification')