deux.authtoken¶
POST /mfa/authtoken/login/¶
Expected Request
{ "username": "testuser", "password": "mypassword", "mfa_code": "123456", (Optional) "backup_code": "123456789012" (Optional) }
Expected Response if Authenticated
200 OK { "token": "<token>", }
Expected Response if MFA Required
200 OK { "mfa_required": True, "mfa_type": "sms" }