← Back to schema index

UserTwoFactorMethod

One of the account's two-factor authentication (2FA) methods, with its ladder state: `passkey`, `app`, `email` or `sms`.

Properties

FieldTypeDescription
method*string

Method: passkey: passkey; app: authenticator app (TOTP or HOTP); email: code by email; sms: code by SMS.

status*string

enabled: the method takes part in the ladder; disabled: it does not.

available*boolean

true when the method's engine is available in this deployment (RN-AUTH-054). passkey is always true. The front hides an unavailable method the user does not have active; when they had it active, it turns it off without unlinking.

verified_at*TimestampUTC | null

When the method was verified: the channel verification for email/sms, the confirmed enrollment for app; null when never verified (or passkey, which is not enrolled as a 2FA method: its keys are managed at /v1/users/me/passkeys).

last_used_at*TimestampUTC | null

When a challenge with this method was last passed; null when never used.

Used in operations

  • GET /v1/users/me
  • GET /v1/users/me/2fa/methods

Referenced by schemas