listSessions static method

Future<List<AuthSessionInfo>> listSessions(
  1. Session session, {
  2. required UuidValue authUserId,
  3. Transaction? transaction,
})

List all sessions belonging to the given authUserId.

Implementation

static Future<List<AuthSessionInfo>> listSessions(
  final Session session, {
  required final UuidValue authUserId,
  final Transaction? transaction,
}) async {
  return admin.findSessions(
    session,
    authUserId: authUserId,
    transaction: transaction,
  );
}