SDK reference / Models / Account
AccountSession
Kind: class
Namespace: Egulu.Sdk.Models.Account
One sign-in of the caller. The device and the network are display labels the console sends when the person signs in (a browser name,an operating system, a coarse network prefix); they are never a security input and a session is revoked by its id only.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
App | string? | app | The app the session belongs to (for example "egulu CLI"), empty for a console sign-in. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
Current | bool? | current | True for the session that made this call. |
Device | string? | device | For example "Firefox on Linux" or "egulu CLI"; empty when the sign-in sent none. |
ExpireTime | DateTimeOffset? | expireTime | When the session ends whatever the person does. |
LastActiveTime | DateTimeOffset? | lastActiveTime | The lastActiveTime property |
Method | Models.Account.SessionMethod? | method | How a session was opened. |
Name | string? | name | accountSessions/{session}. |
Network | string? | network | A coarse network label (an IPv4 /24 or an IPv6 /48 prefix), not a city: the platform holds no geolocation database. |
Session | string? | session | The session's id, as the `sid` claim of its tokens. |