X Enterprises
nuxt-x-app-admin

Users Sessions

Active session table with browser/OS detection, per-session revoke, and bulk revoke-all.

Users Sessions

Active session table with browser/OS detection, per-session revoke, and bulk revoke-all.

Components

<XAdminUsersSessions />

Props, events, and behaviour reflect the actual <script setup> of XAdmin/Users/Sessions.vue in @xenterprises/nuxt-x-app-admin.

<XAdminUsersSessions />

Props

PropTypeDefaultDescription
userIdStringnullScope to a single user; null lists all sessions.
endpointString'admin/users/sessions'API endpoint for the sessions list.
currentSessionIdStringnullActive session ID; rendered with 'Current' badge.
searchableBooleantrueShow search input.
paginatedBooleantrueEnable client-side pagination.
pageSizeNumber20Items per page.
showRevokeAllBooleantrueShow 'Revoke all sessions' action.

Emits

EventPayloadDescription
revokevariesFired after a single session is revoked.
revoke-allvariesFired after all sessions are revoked.

AI Context

component: XAdminUsersSessions
package: "@xenterprises/nuxt-x-app-admin"
category: Users
source: app/components/XAdmin/Users/Sessions.vue
use-when: Active session table with browser/OS detection, per-session revoke, and bulk revoke-all.
Copyright © 2026