Skip to main content

Module session_manager

Module session_manager 

Source
Expand description

Session management for the BRC-31 authentication protocol.

SessionManager tracks authenticated sessions by both session nonce (primary key) and peer identity key (secondary index), supporting multiple concurrent sessions per identity key.

Translated from TS SDK SessionManager.ts and Go SDK session_manager.go.

Structsยง

SessionManager
Manages authenticated peer sessions with dual-index tracking.