1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-24 23:01:05 +03:00

Make the last activity timestamp and IP available through the API

This commit is contained in:
Quentin Gliech
2023-09-19 19:25:58 +02:00
parent b85655b944
commit 50558a7319
17 changed files with 2562 additions and 2329 deletions

View File

@@ -127,6 +127,10 @@ export type BrowserSession = CreationEvent &
finishedAt?: Maybe<Scalars["DateTime"]["output"]>;
/** ID of the object. */
id: Scalars["ID"]["output"];
/** The last time the session was active. */
lastActiveAt?: Maybe<Scalars["DateTime"]["output"]>;
/** The last IP address used by the session. */
lastActiveIp?: Maybe<Scalars["String"]["output"]>;
/** The most recent authentication of this session. */
lastAuthentication?: Maybe<Authentication>;
/** The state of the session. */
@@ -181,6 +185,10 @@ export type CompatSession = CreationEvent &
finishedAt?: Maybe<Scalars["DateTime"]["output"]>;
/** ID of the object. */
id: Scalars["ID"]["output"];
/** The last time the session was active. */
lastActiveAt?: Maybe<Scalars["DateTime"]["output"]>;
/** The last IP address used by the session. */
lastActiveIp?: Maybe<Scalars["String"]["output"]>;
/** The associated SSO login, if any. */
ssoLogin?: Maybe<CompatSsoLogin>;
/** The state of the session. */
@@ -544,6 +552,10 @@ export type Oauth2Session = CreationEvent &
finishedAt?: Maybe<Scalars["DateTime"]["output"]>;
/** ID of the object. */
id: Scalars["ID"]["output"];
/** The last time the session was active. */
lastActiveAt?: Maybe<Scalars["DateTime"]["output"]>;
/** The last IP address used by the session. */
lastActiveIp?: Maybe<Scalars["String"]["output"]>;
/** Scope granted for this session. */
scope: Scalars["String"]["output"];
/** The state of the session. */