mirror of https://github.com/jumpserver/jumpserver
10 lines
313 B
Python
10 lines
313 B
Python
from django.dispatch import Signal
|
|
|
|
|
|
oauth2_create_or_update_user = Signal(
|
|
providing_args=['request', 'user', 'created', 'name', 'username', 'email']
|
|
)
|
|
oauth2_user_login_success = Signal(providing_args=['request', 'user'])
|
|
oauth2_user_login_failed = Signal(providing_args=['request', 'username', 'reason'])
|
|
|