deux.notifications

deux.notifications.NOT_SMS_DEVICE_CODE = 21401

Error code from Twilio to indicate at InvalidPhoneNumberError

deux.notifications.send_mfa_code_text_message(mfa_instance, mfa_code)[source]

Sends the MFA Code text message to the user.

Parameters:
  • mfa_instanceMultiFactorAuth instance to use.
  • mfa_code – MFA code in the form of a string.
Raises: