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)¶
Adds permission to migrate account for OpenID authenticated user
- 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.is_openid_migration_enabled()¶
- tardis.apps.social_auth.auth.social_auth.migrate_user_message(**kwargs)¶
Automatically detects if a user has an account with the same email address and prompts user to perform migration.
- 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