django-oidc-provider/oidc_provider/signals.py

7 lines
208 B
Python
Raw Normal View History

2016-12-01 19:20:34 +00:00
# -*- coding: utf-8 -*-
from django.dispatch import Signal
user_accept_consent = Signal(providing_args=['user', 'client', 'scope'])
user_decline_consent = Signal(providing_args=['user', 'client', 'scope'])