SessionsModule class
Module managing active user sessions across devices.
Constructors
- SessionsModule(SpJwtAuth auth)
- Creates a new SessionsModule.
Properties
Methods
-
list(
) → Future< List< Map< >String, dynamic> > - Lists all active sessions for the current user.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
revoke(
String sessionId) → Future< void> -
Revokes an active session by
sessionId. -
revokeOthers(
) → Future< void> - Revokes all other active sessions except the current session.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited