Type of the device.
Type of the location.
Type of the session metadata.
Deletes user session.
Subject.
Id of the session.
Storage should treat sessionId
as untrusted and
perform SQLi and XSS validations before deleting meta data.
Deletes all sessions of the subject
.
Subject.
Number of deleted sessions.
Insert user session in the storage.
IMPORTANT!
It's highly advisable to hashsessionId
before storing it in the database, especially if RDBMS is used.
Subject.
Session id.
Session meta data.
Session ttl (in seconds).
Read session meta data from storage.
Subject.
Id of the session.
Storage should treat sessionId
as untrusted and
perform SQLi and XSS validations before query meta data.
User session meta data or null / undefined if not found.
Read all of the active user sessions for subject
.
Subject user sessions are belonging to.
Session id with the session metadata.
When subject
has no active sessions, returns an empty map.
Storage where user sessions are stored.