This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk / ProfileSession

ProfileSession ​

Player login session (GET /me/sessions).

Properties ​

current ​

current: boolean

true on the session that made this request.


device ​

device: string

Device (user agent).


id ​

id: string

Session id, for ProfileApi.revokeSession.


ip ​

ip: string

IP address the session was seen from.


lastActive ​

lastActive: string

Last activity, as the gateway reports it: today a free-form text (e.g. now), not a guaranteed ISO date. Do not call new Date(lastActive) without handling the format.