create_new_map_existing_remap_helmholtz Strategy
Classes:
An authentication viewset. |
- class django_helmholtz_aai.views.auth.create_new_map_existing_remap_helmholtz.AuthentificationViewset
Bases:
AuthentificationViewsetAn authentication viewset.
The following strategy is applied for new users:
- when the email exists already:
- when the user with the mail already has a helmholtz user:
map user
- when the user with the mail does not have a helmholtz user:
map user
- when the email does not exist:
create new user
Classes:
AuthentificationView(**kwargs)An authentification view that creates new users upon request.
- class AuthentificationView(**kwargs)
Bases:
MapUserMixin,CheckEmailMixin,AuthentificationViewAn authentification view that creates new users upon request.
Classes:
PermissionDeniedReasons(value)An enumeration.
Methods:
handle_new_user(userinfo)Handle the registration of a new user.