--- ## SessionManager Lists the user's active sessions (refresh-token families) with a device label, last-active time and a "this device" badge, and lets them sign out an individual session or all other devices. Requires refresh-token rotation on the server (`config.refreshToken`); without it the list reports itself unavailable. Pair with `createListSessionsHandler` (GET `basePath`), `createRevokeSessionHandler` (POST `basePath/revoke`) and `createRevokeOtherSessionsHandler` (POST `basePath/revoke-others`). **Import:** `import { SessionManager } from '@urbicon-ui/auth';` ### Examples ```svelte ``` ### Api | Prop | Type | Required | Default | Description | | --- | --- | :---: | --- | --- | | basePath | `string` | no | '/api/auth/sessions' | API base path for the session endpoints. | | class | `string` | no | | Extra classes on the root element. | | csrf | `CsrfClientOptions` | no | | CSRF cookie/header names — only needed when the server overrides the defaults via `config.csrf`. Mutating requests echo the token automatically. | | fetcher | `typeof globalThis.fetch` | no | | Custom fetch implementation for all API calls. Defaults to the global `fetch`. Useful for mock backends in demos/tests or custom retry/auth layers. | | slotClasses | `Partial>` | no | | Per-slot class overrides. | | t | `AuthLocale` | no | | Locale bundle. Auto-detected from i18n context when omitted. | | unstyled | `boolean` | no | | Strip all default styling. | ### Slots (slotClasses keys) `root`, `title`, `list`, `item`, `empty`, `badge`