X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/7de1822447fb622522fdce31d0f0e02fa3cdcbd5..aa7e32228fc101bb754786a58510a8b7899adfcb:/cas_provider/signals.py?ds=sidebyside diff --git a/cas_provider/signals.py b/cas_provider/signals.py index 648a0de..3c469db 100644 --- a/cas_provider/signals.py +++ b/cas_provider/signals.py @@ -1,6 +1,8 @@ # -*- coding: utf-8 -*- """cas_provider.signals -- signal definitions for cas_provider """ +from __future__ import unicode_literals + from django import dispatch @@ -8,4 +10,6 @@ on_cas_collect_histories = dispatch.Signal(providing_args=["for_email"]) on_cas_login = dispatch.Signal(providing_args=["request"]) +on_cas_login_success = dispatch.Signal(providing_args=["user", "service"]) + cas_collect_custom_attributes = dispatch.Signal(providing_args=['user'])