APISessionSet class

Handles a set of APISession.

Constructors

APISessionSet(Duration timeout, {Duration? autoCheckInterval, APIRoot? apiRoot, SharedStoreField? sharedStoreField, SharedStoreReference? sharedStoreReference, SharedStore? sharedStore, String? sharedStoreID, SharedStoreProviderSync? storeProvider})

Properties

autoCheckInterval ↔ Duration
latefinal
hashCode → int
The hash code for this object.
no setterinherited
length → FutureOr<int>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sharedSessionsID → String
no setter
sharedStore → SharedStore
no setter
timeout → Duration
The session timeout.
final

Methods

autoCheckSessions() → void
checkSessions() → FutureOr<int>
clear() → FutureOr<int>
expiredSessions([DateTime? now]) → FutureOr<List<APISession>>
get(String sessionID) → FutureOr<APISession?>
getMarkingAccess(String sessionID) → FutureOr<APISession?>
getOrCreate(String sessionID) → FutureOr<APISession>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(APISession session) → FutureOr<APISession>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited