Module user

Source
Expand description

Modules for managing all user activities and state

Modules§

consume_user_otp
Module for consuming a user’s one-time-use password
create_otp
Module for creating a user’s one-time-use password
create_user
Module for creating a user
delete_user
Module for deleting a user
get_user
Module for getting a user
is_verification_enabled
Module for checking the environment variable: USER_EMAIL_VERIFICATION_ENABLED to detect if user email verification is enabled
is_verification_required
Module for checking the environment variable: USER_EMAIL_VERIFICATION_REQUIRED to detect if user email verification is required for a user’s login
search_user_data
Module for searching for a user’s s3 data
search_users
Module for searching for users in the postgres db
update_user
Module for updating a user’s fields in the postgres db
update_user_data
Module for updating a single user’s s3 data record in the local postgres db (note: this does not re-upload the s3 data again, it just updates the local db record)
upload_user_data
Module for uploading a POST-ed file to s3 and store the tracking data in the postgres db
upsert_user_verification
Module for upsert-ing a user’s email verification record in the postgres db
verify_user
Module for verifying a user’s email address in the postgres db