Navigation
Challenge
A representation of a challenge.
Properties
ID
The ID of the challenge generated by Rupt.
Account
The external account ID for the user.
Status
The current status of the challenge.
Code
The code supplied to the user for the challenge via the 2fa method.
Type
The enforcement type of the challenge
Created At
The date this challenge was first added to the system.
Updated At
The date this challenge was last updated in the system.
SDK Syntax
const {
id: String,
account: String,
status: Enum[
"initiated",
"pending",
"delivered",
"delivery_failed",
"delivery_delayed",
"bounced",
"verified",
"failed",
"overridden",
"postponed",
"completed",
"admin_notified",
"skipped",
],
code: String,
type: Enum[
"repeat_trial",
"account_sharing",
],
createdAt: Date,
updatedAt: Date,
} = Challenge;