Tasks

ip_authorization_code

Function that prepares the data to send in the email with the code to authorize a new device or ip of a user.

send_ip_authorization_code

Function that is responsible for sending the email with the code to authorize a new device or ip of a user. Check if there is any email sending provider (example: Sendgrid) or not, to send the email. This is a task that is injected into Celery to run in the background.

notify_ip

Function that prepares the data to be sent in the login notification email. Through it, the user is indicated that the session has been started using a specific device and IP.

send_notify_ip

function that is responsible for sending the login notification email. Check if there is any email sending provider (example: Sendgrid) or not, to send the email. This is a task that is injected into Celery to run in the background.