Method ListAsync(long, CancellationToken)

Assembly: redb.Identity.Core.dll

Lists all active sessions for a user. Includes application info.

Application metadata is fetched in a single batched WhereInRedb(o => o.Id, ids)
query rather than per-row IRedbService.LoadAsync — a user with many
active sessions across multiple clients would otherwise turn this admin endpoint
into an O(N) round-trip storm.

public Task<List<SessionService.SessionInfo>> ListAsync(long userId, CancellationToken ct = default)