API referenceSections

SessionInfo

SessionInfo object
  • session_id string required
  • user_id string required
  • csrf_token string required
  • expires_at string (date-time) required
  • mfa string required
  • totp_enabled boolean required

    The authenticator app is on for this user

  • passkeys integer required

    Number of passkeys the user has

  • password_reset_required boolean optional

    The session must set a new password first: it came from a recovery link (ADR 0057) or the password fails the password policy (ADR 0112)

  • password_change_reason string optional

    Why a new password is required; policy needs the current password

    Allowed values: "" "recovery" "policy"
  • email string optional
  • name string optional

    Display name; may be empty

  • impersonation object optional

Used by