listSessions static method
Future<List<AuthSessionInfo> >
listSessions(
- Session session, {
- required UuidValue authUserId,
- 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,
);
}