Requests multi-factor authentication or password confirmation of the person running the action.
io.confirmIdentity is not supported within an io.group.
const shouldDelete = await io.confirmIdentity("This is a sensitive action.");
This method will not require authentication if the person running the action has just logged in or satisfied a previous io.confirmIdentity call. This param configures the time period that a recent authentication should last. Defaults to 300000 (5 minutes).
Was this section useful?