tardis.apps.social_auth.auth package
Submodules
tardis.apps.social_auth.auth.authorisation module
tardis.apps.social_auth.auth.social_auth module
- tardis.apps.social_auth.auth.social_auth.add_authentication_method(**kwargs)
Creates an authentication record for OpenID authenticated user
- tardis.apps.social_auth.auth.social_auth.add_migration_permission(**kwargs)
Keeping this to prevent to avoid issues social auth
- tardis.apps.social_auth.auth.social_auth.add_user_permissions(**kwargs)
Adds default permission to OpenID authenticated user
- tardis.apps.social_auth.auth.social_auth.approve_user_auth(**kwargs)
Sets approved status to True in user authentication This will add user permissions as well.
- tardis.apps.social_auth.auth.social_auth.configure_social_auth_user(**kwargs)
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.
- tardis.apps.social_auth.auth.social_auth.get_auth_method(authenticatedBackendName)
Return matching user authentication method from list of authentication methods in settings
- tardis.apps.social_auth.auth.social_auth.requires_admin_approval(authenticationBackend)
- tardis.apps.social_auth.auth.social_auth.send_admin_email(**kwargs)
Sends MyTardis admins an email for approving account