Session
is a datatype
for an active session.
Table: Session
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column. | |||||
Table last updated: Oct 3, 2024 | |||||
city | string | Long-Term | Approximate city from IP address. | ||
clientInfo | string | yes | Long-Term | Information about the client. | |
country | string | Long-Term | Country from IP address. | ||
createdAt | long | Long-Term | The time at which the session was created. | ||
id | string | yes | Long-Term | The unique identifier of the session. | |
ip | string | yes | Long-Term | The IP of the client when the session was created. | |
isCurrentSession | boolean | yes | Long-Term | Whether the session is the current session for the user. | |
lastActivityAt | long | Long-Term | The time at which the session was last active. | ||
user | User | yes | Long-Term | The user that created the session. See User . |