AuthSessionsAdmin class final
Collection of admin functions for managing sessions.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteExpiredSessions(
Session session, {bool deleteExpired = true, bool deleteInactive = true, Transaction? transaction}) → Future< void> -
Deletes the session where
AuthSession.expiresAt
has elapsed, or where the session has not been used in sinceAuthSession.expireAfterUnusedFor
expired it. -
findSessions(
Session session, {UuidValue? authUserId, String? method, Transaction? transaction}) → Future< List< AuthSessionInfo> > - List all sessions matching the given filters.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited