Status
Two-factor authentication verification statuses and how they transition.
A Two Factor Authentication verification moves through the following statuses during its lifetime.
Verification lifecycle
Pending → Verified· final | Cancelled· final | Expired· final | Failed· final
| Status | Description |
|---|---|
| Pending | When a verification is created it has a Pending state. |
| Verified· final | Verification has been successfully confirmed. |
| Cancelled· final | Verification has been cancelled. |
| Expired· final | Verification has expired according to the `lifetimeInSeconds` parameter. |
| Failed· final | The user provided a wrong answer for this verification. |
stateDiagram-v2
[*] --> Pending
Pending --> Verified: correct answer
Pending --> Failed: wrong answer
Pending --> Cancelled: user/system cancel
Pending --> Expired: lifetime exceeded
Verified --> [*]
Failed --> [*]
Cancelled --> [*]
Expired --> [*]Updated about 1 month ago

