Skip to Content

The RecoveryAddressPending type of the TypeScript SDK, which recovery.setAddress take or answer.

type RecoveryAddressPending = {
  address: string
  expiresAt: number
  sameAccount: boolean
  state: 'pending'
}

Fields

FieldTypeDescription
addressstringThe pending address, masked
expiresAtnumberEpoch seconds after which the confirmation code is dead and the address must be set again
sameAccountbooleanTrue if this address routes to another mailbox in the SAME account, so a single compromise or a single outage can take both. Allowed, and worth warning about
state'pending'Pending is never a reset target

Used by

MethodWhat it does
recovery.setAddressSet the mailbox's recovery address

On this page