PhoenixKitWeb.Live.Users.Sessions (phoenix_kit v1.5.1)

View Source

Live component for managing active user sessions in the PhoenixKit admin panel.

This module provides functionality to:

  • View all active sessions across the system
  • See session details including user info, creation time, and age
  • Revoke individual sessions
  • Revoke all sessions for a specific user
  • View session statistics

Only accessible to users with Owner or Admin roles.

Summary

Functions

handle_event(binary, arg2, socket)

Callback implementation for Phoenix.LiveView.handle_event/3.

handle_info(arg, socket)

Callback implementation for Phoenix.LiveView.handle_info/2.

handle_params(params, url, socket)

Callback implementation for Phoenix.LiveView.handle_params/3.

mount(params, session, socket)

Callback implementation for Phoenix.LiveView.mount/3.

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.