PhoneVerificationAttempt
PhoneVerificationAttempt Schema¶
Description: Audit trail for Twilio Verify exchanges.
Each attempt corresponds to one Twilio Verify ``create()`` call. Stored
separately from ``UserNotificationPreferences`` so we have a full history
for rate limiting and forensics, even after a successful verification
moves the verified number onto the prefs row.
Properties¶
| Name | Type | Description |
|---|---|---|
| id | Integer |
No description |
| user_id | Integer |
No description |
| phone_e164 | String(32) |
No description |
| twilio_verification_sid | String(64) |
No description |
| status | Enum(pending, approved, failed, canceled) |
No description |
| created_on | DateTime |
No description |
| completed_on | DateTime (Optional) |
No description |
| consent_text_version | String(32) |
No description |
| consent_acknowledged_on | DateTime |
No description |
| consent_ip | String(64) (Optional) |
No description |
| consent_user_agent | String(512) (Optional) |
No description |
Relationships¶
| Relationship Name | Type |
|---|---|
| user | User |