@vonage/verify
Version:
Verify API provides a choice of routes for sending a code to a user. You can use this to confirm a user's contact information, as a second factor when authenticating users, or for step-up authentication.
28 lines (26 loc) • 646 B
text/typescript
/**
* Enum representing the status of a Verify search request.
*/
declare enum SearchStatus {
/**
* The search is still in progress.
*/
IN_PROGRESS = "IN PROGRESS",
/**
* Your user entered a correct verification code.
*/
SUCCESS = "SUCCESS",
/**
* Your user entered an incorrect code more than three times.
*/
FAILED = "FAILED",
/**
* Your user did not enter a code before the pin_expiry time elapsed.
*/
EXPIRED = "EXPIRED",
/**
* The verification process was canceled by a Verify control request.
*/
CANCELLED = "CANCELLED"
}
export { SearchStatus };