create_new Strategy

Classes:

AuthentificationViewset()

An authentication viewset.

class django_helmholtz_aai.views.auth.create_new.AuthentificationViewset

Bases: AuthentificationViewsetBase

An authentication viewset.

The following strategy is applied for new users:

  • when the email exists already: - create new user

  • when the email does not exist: - create new user

Classes:

AuthentificationView(**kwargs)

An authentification view.

class AuthentificationView(**kwargs)

Bases: CreateUserMixin, AuthentificationView

An authentification view.

Classes:

PermissionDeniedReasons(value)

An enumeration.

Methods:

handle_new_user(userinfo)

Handle the registration of a new user.

class PermissionDeniedReasons(value)

Bases: TextChoices

An enumeration.

Attributes:

email_not_verified

vo_not_allowed

email_not_verified = 'email_not_verified'
vo_not_allowed = 'vo_not_allowed'
handle_new_user(userinfo: Dict[str, Any]) Tuple[HelmholtzUser | None, Any]

Handle the registration of a new user.