API Docs for: 0.0.0
Show:

Session Class

Representation of message access request to retrieve information from the library and process any needed session information.

Constructor

Session

(
  • description
  • description
)

Parameters:

  • description Object
  • description WebSocket | Socket | Request

Properties

authenticated

Number

When this session was established.

authenticator

String

The String representing the code for this session.

connected

String

When set, this names the Tower instance to which the user has an active websocket.

connector

String

String used for looking up this session that should be deleted after fetch.

id

String

ips

String

Tracks IP addresses seen inside this session

last

Number

The last time this session was used.

source

String

The passport request string that generated this request.

srcip

String deprecated

Due to the way passport processes requests, the source IP isn't available at sign-in. Additionally, this field is being moved to an array to track possible multitudes of IP addresses.

user

String

The Refuge user id

username

String