Django 1.8(b2) support.
[django-cas-provider.git] / cas_provider / signals.py
1 # -*- coding: utf-8 -*-
2 """cas_provider.signals -- signal definitions for cas_provider
3 """
4 from __future__ import unicode_literals
5
6 from django import dispatch
7
8
9 on_cas_collect_histories = dispatch.Signal(providing_args=["for_email"])
10
11 on_cas_login = dispatch.Signal(providing_args=["request"])
12
13 on_cas_login_success = dispatch.Signal(providing_args=["user", "service"])
14
15 cas_collect_custom_attributes = dispatch.Signal(providing_args=['user'])