Skip to content

js-bao-wss-client


js-bao-wss-client / SessionAPI

Interface: SessionAPI ​

Sub-API for the current session (client.session.*): inspect the authenticated session's identity and expiry.

Methods ​

get() ​

get(): Promise<SessionInfo>

Retrieves information about the current authenticated session.

Returns ​

Promise<SessionInfo>

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30