tardis.apps.social_auth.auth package¶
Submodules¶
tardis.apps.social_auth.auth.authorisation module¶
tardis.apps.social_auth.auth.social_auth module¶
Creates an authentication record for OpenID authenticated user
Keeping this to prevent to avoid issues social auth
Adds default permission to OpenID authenticated user
Sets approved status to True in user authentication This will add user permissions as well.
Applies configuration used for external (non-Django) accounts.
Adds user to settings.NEW_USER_INITIAL_GROUPS and sets isDjangoAccount to False in their UserProfile, so that MyTardis won’t allow them to change their password.
Return matching user authentication method from list of authentication methods in settings
Sends MyTardis admins an email for approving account