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

NameTypeJSON nameDescription
Appstring?appThe app the session belongs to (for example "egulu CLI"), empty for a console sign-in.
CreateTimeDateTimeOffset?createTimeThe createTime property
Currentbool?currentTrue for the session that made this call.
Devicestring?deviceFor example "Firefox on Linux" or "egulu CLI"; empty when the sign-in sent none.
ExpireTimeDateTimeOffset?expireTimeWhen the session ends whatever the person does.
LastActiveTimeDateTimeOffset?lastActiveTimeThe lastActiveTime property
MethodModels.Account.SessionMethod?methodHow a session was opened.
Namestring?nameaccountSessions/{session}.
Networkstring?networkA coarse network label (an IPv4 /24 or an IPv6 /48 prefix), not a city: the platform holds no geolocation database.
Sessionstring?sessionThe session's id, as the `sid` claim of its tokens.