method

Store.ListSessions

func (backend *Store) ListSessions( ctx context.Context, collectionID schema.StableID, userID string, now time.Time, ) ([]store.AuthSession, error)

Public method Store.ListSessions from github.com/riducms/ridu/adapters/sqlite.

Source adapters/sqlite/auth.go:316

@param ctx
The ctx value.
@param collectionID
The collectionID value.
@param userID
The userID value.
@param now
The now value.
@returns
The declared result.

Related types

  • Store

    A SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.

  • StableID

    A deterministic identifier for schema evolution.

  • AuthSession

    A persisted opaque session digest and safe metadata.